Skip to main content

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
ParagraphLineSpacing

A ParagraphLineSpacing enumeration value representing the line spacing type.

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.15 will increase the space by 15 percent, and setting line spacing to 3 increases the space by 300 percent (triple spacing). The multiplication value is specified by the Paragraph.LineSpacingMultiplier property.

Exactly

This option sets fixed line spacing, specified by the Paragraph.LineSpacing property.

AtLeast

The line spacing can be greater than or equal to, but never less than, the specified Paragraph.LineSpacing value.

Remarks

Depending on the selected value, the line spacing is determined as follows:

See Also