ParagraphFormattingSettings.firstLineIndent Property
In This Article
Specifies the indent of the paragraph’s first line.
#Declaration
TypeScript
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