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

ParagraphLineSpacing Enum

Specifies the way to determine the spacing between lines in a paragraph

Namespace: DevExpress.XtraRichEdit.API.Native

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

NuGet Package: DevExpress.RichEdit.Core

Declaration

[ComVisible(true)]
public enum ParagraphLineSpacing

Members

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

Values listed by this enumeration are used to set the Paragraph.LineSpacingType and ParagraphPropertiesBase.LineSpacingType properties.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ParagraphLineSpacing enum.

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