View.Type Property
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.
Returns or sets the view type.
public:
property Microsoft::Office::Interop::Word::WdViewType default { Microsoft::Office::Interop::Word::WdViewType get(); void set(Microsoft::Office::Interop::Word::WdViewType value); };
public Microsoft.Office.Interop.Word.WdViewType this { get; set; }
member this.Type : Microsoft.Office.Interop.Word.WdViewType with get, set
Default Public Property Type As WdViewType
Property Value
Remarks
WdViewType can be one of these WdViewType constants:
wdMasterView
wdOutlineView
wdPrintView
wdNormalView
wdPrintPreview
wdWebView
wdReadingView
The Type property returns wdMasterView for all documents where the current view is an outline or a master document. The current view will never return wdOutlineView unless explicitly set first in code.
To check whether the current document is an outline, use the Type property and the Subdocuments collection's Count property. If the Type property returns either wdOutlineView or wdMasterView and the Count property returns zero, the document is an outline.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應