Compartilhar via


Style.ParagraphFormat Property

Word Developer Reference

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.

Visual Basic for Applications
  With ActiveDocument.Styles(wdStyleHeading2).ParagraphFormat
    .TabIndent(1)
    .Space2
End With

See Also