Skip to main content
.NET Framework 4.5.2+

ParagraphPropertiesBase.LineSpacingType Property

Gets or sets the spacing type between a paragraph’s lines.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v22.1.Core.dll

Declaration

ParagraphLineSpacing? LineSpacingType { get; set; }

Property Value

Type Description
Nullable<ParagraphLineSpacing>

Indicates the line spacing type.

Remarks

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

If the LineSpacingType property is set to ParagraphLineSpacing.Exactly or ParagraphLineSpacing.AtLeast, the line spacing is determined by the LineSpacing property.

If the LineSpacingType property is set to ParagraphLineSpacing.Multiple, the line spacing is determined by the LineSpacingMultiplier property.

The following code snippets (auto-collected from DevExpress Examples) contain references to the LineSpacingType property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also