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