Paragraph.OutlineLevel Property
Returns or sets the outline level for the specified paragraphs.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Property OutlineLevel As WdOutlineLevel
Get
Set
'Usage
Dim instance As Paragraph
Dim value As WdOutlineLevel
value = instance.OutlineLevel
instance.OutlineLevel = value
WdOutlineLevel OutlineLevel { get; set; }
Property Value
Type: Microsoft.Office.Interop.Word.WdOutlineLevel
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.