View.ShowHeading Method

Shows all headings up to the specified heading level and hides subordinate headings and body text.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Sub ShowHeading ( _
    Level As Integer _
)
'Usage
Dim instance As View
Dim Level As Integer

instance.ShowHeading(Level)
void ShowHeading(
    int Level
)

Parameters

  • Level
    Type: System.Int32
    Required Integer. The outline heading level (a number from 1 to 9).

Remarks

Note This method generates an error if the view isn't outline view or master document view.

See Also

Reference

View Interface

View Members

Microsoft.Office.Interop.Word Namespace