ParagraphFormat.RightIndent property (Publisher)
Returns or sets a Variant that represents the right indent (in points) for the specified paragraphs. Read/write.
Syntax
expression.RightIndent
expression A variable that represents a ParagraphFormat object.
Return value
Variant
Example
This example sets the right indent for all paragraphs in the active document to one inch from the right margin. The InchesToPoints method is used to convert inches to points. This example assumes that there is at least one shape on the first page of the active publication.
Sub SetRightIndent()
ActiveDocument.Pages(1).Shapes(1).TextFrame _
.TextRange.Paragraphs(1).ParagraphFormat _
.RightIndent = InchesToPoints(1)
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.