Skip to main content

ReadOnlyParagraphPropertiesBase.LineSpacingType Property

Gets the spacing between lines in the current paragraph.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v23.2.Core.dll

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

Declaration

ParagraphLineSpacing LineSpacingType { get; }

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.

See Also