共用方式為


DocumentViewer.GetPageViewsCollection(Boolean) 方法

定義

傳回目前所顯示的 DocumentPageView 項目集合。

protected:
 override System::Collections::ObjectModel::ReadOnlyCollection<System::Windows::Controls::Primitives::DocumentPageView ^> ^ GetPageViewsCollection([Runtime::InteropServices::Out] bool % changed);
protected override System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.Controls.Primitives.DocumentPageView> GetPageViewsCollection (out bool changed);
override this.GetPageViewsCollection : bool -> System.Collections.ObjectModel.ReadOnlyCollection<System.Windows.Controls.Primitives.DocumentPageView>
Protected Overrides Function GetPageViewsCollection (ByRef changed As Boolean) As ReadOnlyCollection(Of DocumentPageView)

參數

changed
Boolean

如果在上一次呼叫 DocumentPageView 之後 GetPageViewsCollection(Boolean) 項目集合變更了,這個方法會傳回、包含 true,否則為 false

傳回

目前顯示在 DocumentPageView 控制項中的 DocumentViewer 項目集合。

適用於