ParagraphFormat.LineSpacing property (Publisher)
Returns or sets a Variant that represents the line spacing (in number of lines) for the specified paragraphs. Read/write.
Syntax
expression.LineSpacing
expression A variable that represents a ParagraphFormat object.
Return value
Variant
Remarks
Use the LineSpacingRule property to set the line spacing to a preset value.
Example
This example sets the line spacing of the paragraph at the cursor position to three lines. This example assumes that the cursor is in a text box.
Sub SetLineSpacing()
Selection.TextRange.ParagraphFormat.LineSpacing = 3
End Sub
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.