Paragraphs.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 Paragraphs
Dim value As WdOutlineLevel
value = instance.OutlineLevel
instance.OutlineLevel = value
WdOutlineLevel OutlineLevel { get; set; }
Property Value
Type: Microsoft.Office.Interop.Word.WdOutlineLevel
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.