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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈