语言

FormattedText.LineHeight 属性

定义

获取文本行之间的行高或行距。

public:
 property double LineHeight { double get(); void set(double value); };
public double LineHeight { get; set; }
member this.LineHeight : double with get, set
Public Property LineHeight As Double

属性值

在独立于设备的单位(每单位 1/96 英寸)中提供的文本行距。

注解

默认行高会自动计算,并基于作为参数传递给构造函数的 FormattedText 字体值。

适用于