Partager via


Style.ParagraphFormat Property (Word)

Returns or sets a ParagraphFormat object that represents the paragraph settings for the specified style. Read/write.

Syntax

expression .ParagraphFormat

expression A variable that represents a Style object.

Example

This example modifies the Heading 2 style for the active document. Paragraphs formatted with this style are indented to the first tab stop and double-spaced.

With ActiveDocument.Styles(wdStyleHeading2).ParagraphFormat 
 .TabIndent(1) 
 .Space2 
End With

See Also

Concepts

Style Object Members

Style Object