Skip to main content

ParagraphFormattingSettings.firstLineIndent Property

Specifies the indent of the paragraph’s first line.

Declaration

firstLineIndent: number

Property Value

Type Description
number

The indent of the first line, in twips.

Remarks

If the firstLineIndentType property is set to a value different from None, the indent value of a paragraph is specified by the firstLineIndent property.

JavaScript
var firstLineIndentSettings = {
    firstLineIndentType: ASPx.ParagraphFirstLineIndent.Hanging,
    firstLineIndent: richEdit.unitConverter.pixelsToTwips(10)
};

richEdit.commands.changeParagraphFormatting.execute(firstLineIndentSettings);
See Also