CanvasLineSpacingMode Enumeration |
Options for specifying how lines are spaced apart.
Namespace:
Microsoft.Graphics.Canvas.Text
Assembly:
Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax public enum CanvasLineSpacingMode
Members
| Member name | Value | Description |
---|
| Default | 0 |
Automatically positioned, if LineSpacing is negative; otherwise, LineSpacing and LineSpacingBaseline are treated as a quantities in DIPs.
|
| Uniform | 1 |
Spacing is affected by the absolute value of LineSpacing, and vertical offset of the text is determined by LineSpacingBaseline. LineSpacing and LineSpacingBaseline are treated as a quantities in DIPs.
|
| Proportional | 2 |
Spacing is affected by the absolute value of LineSpacing, and vertical offset of the text is determined by LineSpacingBaseline. LineSpacing and LineSpacingBaseline are treated as a ratio of the default.
|
See Also