Skip to main content

ParagraphFormattingSettings.lineSpacingType Property

Specifies a spacing between lines in the paragraph.

Declaration

lineSpacingType: ParagraphLineSpacingType

Property Value

Type Description
ParagraphLineSpacingType

The spacing type.

Remarks

If the lineSpacingType property is set to Single, Sesquialteral or Double, the line spacing value is determined automatically, according to the height of the text.

If the lineSpacingType property is set to the Exactly, AtLeast or Multiple value, , the line spacing is determined by the lineSpacing property.

JavaScript
var spacingSettings = {
    lineSpacingType: ASPx.ParagraphLineSpacingType.Exactly,
    lineSpacing: richEdit.unitConverter.pointsToTwips(20)
};

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