Partager via


Paragraphs.FirstLineIndent Property (Word)

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 Paragraphs collection.

Example

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

ActiveDocument.Paragraphs.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.

ActiveDocument.Paragraphs.FirstLineIndent = _ 
 InchesToPoints(-0.5)

See Also

Concepts

Paragraphs Collection Object

Paragraphs Object Members