LineRuleAfter Property

Applies To

ParagraphFormat object.

Description

True if line spacing after the last line in each paragraph is set to a specific number of lines, or False if line spacing is set to a specific number of points. Read/write Long.

See Also

LineRuleBefore property, LineRuleWithin property, SpaceAfter property.

Example

This example displays a message box that shows the setting for space after paragraphs for the text in shape two on slide one in the active presentation.

With Application.ActivePresentation.Slides(1).Shapes(2).TextFrame
    With .TextRange.ParagraphFormat
        sa = .SpaceAfter
        If .LineRuleAfter Then
            saUnits = " lines"
        Else
            saUnits = " points"
        End If
    End With
End With
MsgBox "Current spacing after paragraphs: " & sa & saUnits