Partager via


ConditionalStyle.ParagraphFormat Property (Word)

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

Syntax

expression .ParagraphFormat

expression A variable that represents a ConditionalStyle 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

ConditionalStyle Object Members

ConditionalStyle Object