LineRuleWithin Property
Applies To
ParagraphFormat object.
Description
True if line spacing between base lines 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
LineRuleAfter property, LineRuleBefore property, SpaceWithin property.
Example
This example displays a message box that shows the setting for line spacing for text in shape two on slide one in the active presentation.
With Application.ActivePresentation.Slides(1).Shapes(2).TextFrame
With .TextRange.ParagraphFormat
ls = .SpaceWithin
If .LineRuleWithin Then
lsUnits = " lines"
Else
lsUnits = " points"
End If
End With
End With
MsgBox "Current line spacing: " & ls & lsUnits