DocumentViewerBase.GetPageViewsCollection(Boolean) Metod

Definition

Skapar och returnerar en ny skrivskyddad samling DocumentPageView objekt som är associerade med det aktuella visningsdokumentet (representeras av Document egenskapen).

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)

Parametrar

changed
Boolean

Returnerar true vid det första anropet till GetPageViewsCollection(Boolean) eller om samlingen inte har ändrats sedan föregående GetPageViewsCollection(Boolean) anrop, false annars om samlingen har ändrats sedan det senaste GetPageViewsCollection(Boolean) anropet.

Returer

En skrivskyddad samling DocumentPageView objekt som är associerade med det aktuella visningsdokumentet.

Kommentarer

A DocumentPageView tillhandahåller en vyport för en viss sida med innehåll (representeras av en underliggande DocumentPage).

Gäller för

Se även