Enum LineSpacingMethod
- Namespace
- PaintDotNet.DirectWrite
- Assembly
- PaintDotNet.Windows.dll
The method used for line spacing in a text layout.
public enum LineSpacingMethod
Fields
Default = 0Line spacing depends solely on the content, adjusting to accommodate the size of fonts and inline objects.
Uniform = 1Lines 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 = 2Line spacing and baseline distances are proportional to the computed values based on the content, the size of the fonts and inline objects.