DocumentViewerBase.GetMasterPageView 方法

定義

傳回這個檢視器目前的主要 DocumentPageView

protected:
 System::Windows::Controls::Primitives::DocumentPageView ^ GetMasterPageView();
protected System.Windows.Controls.Primitives.DocumentPageView GetMasterPageView ();
member this.GetMasterPageView : unit -> System.Windows.Controls.Primitives.DocumentPageView
Protected Function GetMasterPageView () As DocumentPageView

傳回

這個檢視器目前的主要 DocumentPageView,如果找不到主要 DocumentPageView,則為 null

備註

提供 DocumentPageView 基礎 DocumentPage) 所代表之特定內容頁面 (的檢視區。 主版頁面會對應至 DocumentPageView 集合中的 PageViews 物件 () ,其中包含具有 值 trueIsMasterPage 附加屬性。 如需詳細資訊,請參閱IsMasterPage

適用於

另請參閱