Table of Contents

Enum LineSpacingMethod

Namespace
PaintDotNet.DirectWrite
Assembly
PaintDotNet.Windows.dll

The method used for line spacing in a text layout.

public enum LineSpacingMethod

Fields

Default = 0

Line spacing depends solely on the content, adjusting to accommodate the size of fonts and inline objects.

Uniform = 1

Lines are explicitly set to uniform spacing, regardless of the size of fonts and inline objects. This can be useful to avoid the uneven appearance that can occur from font fallback.

Proportional = 2

Line spacing and baseline distances are proportional to the computed values based on the content, the size of the fonts and inline objects.