Paragraph.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

WdOutlineLevel

Remarks

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