Partager via


Paragraph.OutlineDemote Method

Applies the next heading level style (Heading 1 through Heading 8) to the specified paragraph or paragraphs.

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

Syntax

'Declaration
Sub OutlineDemote
'Usage
Dim instance As Paragraph

instance.OutlineDemote()
void OutlineDemote()

Remarks

For example, if a paragraph is formatted with the Heading 2 style, this method demotes the paragraph by changing the style to Heading 3.

See Also

Reference

Paragraph Interface

Paragraph Members

Microsoft.Office.Interop.Word Namespace