編輯

共用方式為


Paragraphs.OutlineLevel Property

Definition

Returns or sets the outline level for the specified paragraphs.

public:
 property Microsoft::Office::Interop::Word::WdOutlineLevel OutlineLevel { Microsoft::Office::Interop::Word::WdOutlineLevel get(); void set(Microsoft::Office::Interop::Word::WdOutlineLevel value); };
public Microsoft.Office.Interop.Word.WdOutlineLevel OutlineLevel { get; set; }
member this.OutlineLevel : Microsoft.Office.Interop.Word.WdOutlineLevel with get, set
Public Property OutlineLevel As WdOutlineLevel

Property Value

Remarks

The return vale can be one of the following WdOutlineLevel constants:

wdOutLineLevel1

wdOutLineLevel2

wdOutLineLevel3

wdOutLineLevel4

wdOutLineLevel5

wdOutLineLevel6

wdOutLineLevel7

wdOutLineLevel8

wdOutLineLevel9

wdOutLineLevelBodyText

If a paragraph has a heading style applied to it (Heading 1 through Heading 9), the outline level is the same as the heading style and cannot be changed.

Outline levels are visible only in outline view or the document map pane.

Applies to