TextLayout.

LineHeight Property

Summary

Gets or sets the height of each line of text.
Namespace
Avalonia.Media.TextFormatting
Containing Type
TextLayout

Syntax

public double LineHeight { get; }

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.

Value

Type Description
double