ערוך

שתף באמצעות


DocumentViewerBase.GetPageViewsCollection(Boolean) Method

Definition

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