Skip to main content

LineHeight Property

Gets or sets the height of each line of text.

Definition

Namespace: Avalonia.Media.TextFormatting
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public double LineHeight { get; }

Property Value

Double

Remarks

A value of NaN (equivalent to an attribute value of "Auto") indicates that the line height is determined automatically from the current font characteristics. The default is NaN.

See Also

Reference

TextLayout Class
Avalonia.Media.TextFormatting Namespace