vcl-dxrichedit-dot-nativeapi-a95070c4.md
Enumerates available paragraph line spacing options.
TdxRichEditParagraphLineSpacing = (
Single,
Sesquialteral,
Double,
Multiple,
Exactly,
AtLeast
);
| Name |
|---|
Single |
Sesquialteral |
Double |
Multiple |
Exactly |
AtLeast |
Options include:
|
Value
|
Description
| | --- | --- | |
Single
|
In this mode, the spacing between adjacent paragraph lines equals to the height of the largest font in that line, plus a small amount of extra space depending on the font’s typeface. The paragraph’s LineSpacing and LineSpacingMultiplier property values are ignored.
An end-user can set the single paragraph line spacing by executing the SetSingleParagraphSpacing command.
| |
Sesquialteral
|
The Single paragraph line spacing is multiplied by one and a half.
An end-user can set the sesquialteral paragraph line spacing by executing the SetSesquialteralParagraphSpacing command.
| |
Double
|
The Single paragraph line spacing is doubled.
An end-user can set the double paragraph line spacing by executing a SetDoubleParagraphSpacing command.
| |
Multiple
|
In this mode, the Single paragraph line spacing is multiplied by the paragraph’s LineSpacingMultiplier property value.
| |
Exactly
|
The fixed paragraph line spacing mode. The actual line spacing is determined only by the paragraph’s LineSpacing property value.
| |
AtLeast
|
In this mode, the spacing between paragraph lines can be equal to or greater than the specified paragraph’s LineSpacing property value.
|
The TdxRichEditParagraphLineSpacing type is referenced by:
The GetLineSpacingRule and SetLineSpacingRule methods, and the LineSpacingRule property exposed by the IdxRichEditParagraphPropertiesBase interface;
The GetLineSpacingRule and SetLineSpacingRule methods, and the LineSpacingRule property exposed by the IdxRichEditParagraph interface.
Note
TdxRichEditParagraphLineSpacing is a scoped enumeration type. Use the type name together with a scope resolution token (. in Delphi or :: in C++Builder) followed by an enumeration value to refer to this value. For example, use TdxRichEditParagraphLineSpacing.Sesquialteral (in Delphi) or TdxRichEditParagraphLineSpacing::Sesquialteral (in C++Builder) to refer to the Sesquialteral value in code.
See Also