Partager via


ParagraphFormat.SpaceAfter Property (PowerPoint)

Returns or sets the amount of space after the last line in each paragraph of the specified text, in points or lines. Read/write.

Syntax

expression .SpaceAfter

expression A variable that represents a ParagraphFormat object.

Return Value

Single

Example

This example sets the spacing after paragraphs to 6 points for the text in shape two on slide one in the active presentation.

With Application.ActivePresentation.Slides(1).Shapes(2)

    With .TextFrame.TextRange.ParagraphFormat

        .LineRuleAfter = False

        .SpaceAfter = 6

    End With

End With

See Also

Concepts

ParagraphFormat Object Members

ParagraphFormat Object