ParagraphFormat.LineSpacingRule property (Publisher)
Returns or sets a PbLineSpacingRule constant that represents the line spacing for the specified paragraphs. Read/write.
Syntax
expression.LineSpacingRule
expression A variable that represents a ParagraphFormat object.
Return value
PbLineSpacingRule
Remarks
The LineSpacingRule property value can be one of the PbLineSpacingRule constants declared in the Microsoft Publisher type library.
Example
This example formats the paragraph at the cursor position to double spacing.
Sub SetLineSpacing()
Selection.TextRange.ParagraphFormat
.LineSpacingRule = pbLineSpacingDouble
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.