Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

ParagraphPropertiesBase.LineSpacingType Property

Gets or sets a value which determines the spacing between paragraph’s lines.

Namespace: DevExpress.XtraRichEdit.API.Native

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

Declaration

ParagraphLineSpacing? LineSpacingType { get; set; }

Property Value

Type Description
Nullable<ParagraphLineSpacing>

A ParagraphLineSpacing enumeration value representing 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 ParagraphPropertiesBase.LineSpacing property.

If the LineSpacingType property is set to ParagraphLineSpacing.Multiple, the line spacing is determined by the ParagraphPropertiesBase.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