Click or drag to resize
CanvasTextFormatLineSpacing Property
Negative values use default line spacing; non-negative values specify the line height.

Namespace:  Microsoft.Graphics.Canvas.Text
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version:
public float LineSpacing { get; set; }

Property Value

Type: Single

The line height is the distance from one baseline to another. When LineSpacing is negative the LineSpacingBaseline property is ignored.

The behavior of this property is affected by the text format's CanvasLineSpacingMode.

See Also