Partager via


Paragraph.OutlineDemote Method (Word)

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

Syntax

expression .OutlineDemote

expression Required. A variable that represents a Paragraph object.

Remarks

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

Example

This example demotes the first paragraph in the selection.

Selection.Paragraphs(1).OutlineDemote

This example demotes the third paragraph in the active document.

ActiveDocument.Paragraphs(3).OutlineDemote

See Also

Concepts

Paragraph Object

Paragraph Object Members