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

屬性值

Double

文字行之間的行距,以與裝置無關的單位提供,每單位 (1/96 英吋) 。

備註

預設行高度會自動計算,並且會根據以參數的形式傳遞至建構函式的 FormattedText 字型值為基礎。

適用於