DocumentViewerBase.GetPageViewsCollection(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates and returns a new, read-only collection of DocumentPageView objects that are associated with the current display document (represented by the Document property).
protected:
virtual System::Collections::ObjectModel::ReadOnlyCollection<System::Windows::Controls::Primitives::DocumentPageView ^> ^ GetPageViewsCollection([Runtime::InteropServices::Out] bool % changed);
protected virtual System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.Controls.Primitives.DocumentPageView> GetPageViewsCollection (out bool changed);
abstract member GetPageViewsCollection : bool -> System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.Controls.Primitives.DocumentPageView>
override this.GetPageViewsCollection : bool -> System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.Controls.Primitives.DocumentPageView>
Protected Overridable Function GetPageViewsCollection (ByRef changed As Boolean) As ReadOnlyCollection(Of DocumentPageView)
Parameters
- changed
- Boolean
Returns true
on the first call to GetPageViewsCollection(Boolean) or if the collection has not changed since the previous GetPageViewsCollection(Boolean) call; otherwise, false
if the collection has changed since the last GetPageViewsCollection(Boolean) call.
Returns
A read-only collection of DocumentPageView objects that are associated with the current display document.
Remarks
A DocumentPageView provides a viewport for a particular page of content (represented by an underlying DocumentPage).
Applies to
See also
.NET