Skip to content

Latest commit

 

History

History
52 lines (30 loc) · 1.21 KB

Word.ParagraphFormat.FirstLineIndent.md

File metadata and controls

52 lines (30 loc) · 1.21 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
ParagraphFormat.FirstLineIndent property (Word)
vbawd10.chm156434540
vbawd10.chm156434540
Word.ParagraphFormat.FirstLineIndent
a9a94019-537c-942d-c388-06b228fd5463
06/08/2017
medium

ParagraphFormat.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 'ParagraphFormat' object.

Example

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

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.

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

See also

ParagraphFormat Object

[!includeSupport and feedback]