DocumentViewerBase.GetPageViewsCollection(Boolean) Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
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).