Partager via


Paragraphs.OutlineLevel Property (Word)

Returns or sets the outline level for the specified paragraphs. Read/write WdOutlineLevel.

Syntax

expression .OutlineLevel

expression Required. A variable that represents a Paragraphs collection.

Remarks

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.

Example

This example returns the outline level of all paragraphs in the active document.

temp = ActiveDocument.Paragraphs.OutlineLevel

See Also

Concepts

Paragraphs Collection Object

Paragraphs Object Members