RightIndent Property

Microsoft Word Visual Basic

RightIndent Property

       

Returns or sets the right indent (in points) for the specified paragraphs. Read/write Single.

expression.RightIndent

expression   Required. An expression that returns one of the objects in the Applies To list.

Example

This example sets the right indent for all paragraphs in the active document to 1 inch from the right margin. The InchesToPoints method is used to convert inches to points.

ActiveDocument.Paragraphs.RightIndent = InchesToPoints(1)