ParagraphFormat.FirstLineIndent Property

Word Developer Reference

Returns or sets the value (in points) for a first line or hanging indent. Use a positive value to set a first-line indent, and use a negative value to set a hanging indent. Read/write Single.

Syntax

expression.FirstLineIndent

expression   A variable that represents a ParagraphFormat object.

Example

This example sets a first-line indent of 1 inch for the first paragraph in the active document.

Visual Basic for Applications
  ActiveDocument.Paragraphs(1).FirstLineIndent = _
    InchesToPoints(1)

This example sets a hanging indent of 0.5 inch for the second paragraph in the active document. The InchesToPoints method is used to convert inches to points.

Visual Basic for Applications
  ActiveDocument.Paragraphs(2).FirstLineIndent = _
    InchesToPoints(-0.5)

See Also