ParagraphFormat.LineSpacingRule Property (Publisher)

Returns or sets a PbLineSpacingRule 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