DocumentViewerBase.GetPageViewsCollection(Boolean) メソッド

定義

現在の表示ドキュメント (DocumentPageView プロパティで表される) に関連付けられているDocument オブジェクトの新しい読み取り専用コレクションを作成して返します。

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)

パラメーター

changed
Boolean

GetPageViewsCollection(Boolean)の最初の呼び出しでtrueを返します。以前のGetPageViewsCollection(Boolean)呼び出し以降にコレクションが変更されていない場合はfalse。それ以外の場合は、コレクションが前回のGetPageViewsCollection(Boolean)呼び出し以降に変更された場合にします。

返品

現在の表示ドキュメントに関連付けられている DocumentPageView オブジェクトの読み取り専用コレクション。

注釈

DocumentPageViewは、コンテンツの特定のページ (基になるDocumentPageで表される) のビューポートを提供します。

適用対象

こちらもご覧ください