OutlineDemote Method

Applies To

Paragraph object, Paragraphs collection object.

Description

Applies the next heading level style (Heading 1 through Heading 8) to the specified paragraph or paragraphs. For example, if a paragraph is formatted with the Heading 2 style, this method demotes the paragraph by changing the style to Heading 3.

Syntax

expression.OutlineDemote

expression   An expression that returns a Paragraph or Paragraphs object.

See Also

OutlineDemoteToBody method, OutlineLevel property, OutlinePromote method.

Example

This example demotes the selected paragraphs.

Selection.Paragraphs.OutlineDemote
This example demotes the third paragraph in the active document.

ActiveDocument.Paragraphs(3).OutlineDemote