Paragraph.LineSpacingType Property
Gets or sets the type of spacing between lines in a paragraph.
Namespace: DevExpress.XtraRichEdit.API.Native
Assembly: DevExpress.RichEdit.v24.2.Core.dll
NuGet Package: DevExpress.RichEdit.Core
#Declaration
public abstract ParagraphLineSpacing LineSpacingType { get; set; }
#Property Value
Type | Description |
---|---|
Paragraph |
A Paragraph |
Available values:
Name | Description |
---|---|
Single | This option accommodates the largest font in that line, plus a small amount of extra space. The amount of extra space varies depending on the font that is used. |
Sesquialteral | This option is one-and-one-half times that of single line spacing. |
Double | This option is twice that of single line spacing. |
Multiple | This option sets line spacing that can be expressed in numbers greater than 1. For example, setting line spacing to 1. |
Exactly | This option sets fixed line spacing, specified by the Paragraph. |
At |
The line spacing can be greater than or equal to, but never less than, the specified Paragraph. |
#Remarks
Depending on the selected value, the line spacing is determined as follows:
- ParagraphLineSpacing.Single, ParagraphLineSpacing.Sesquialteral or ParagraphLineSpacing.Double - each line’s height determines the line spacing.
- ParagraphLineSpacing.Exactly or ParagraphLineSpacing.AtLeast - the Paragraph.LineSpacing property determines the line spacing.
- ParagraphLineSpacing.Multiple - Paragraph.LineSpacingMultiplier property determines the line spacing.