FormattedText.Width 屬性

定義

取得行的前置與結尾對齊點之間的寬度,但不含任何結尾空白字元。

public:
 property double Width { double get(); };
public double Width { get; }
member this.Width : double
Public ReadOnly Property Width As Double

屬性值

Double

行的前置與結尾對齊點之間的寬度,但不含任何結尾空白字元。 以裝置獨立單位提供, (每單位 1/96 英吋) 。

備註

若為多行文字,則會使用最長的行作為 Width 值。

適用於