FormattedText.Width プロパティ

定義

末尾の空白文字を除く、行の先頭と末尾の配置ポイントの間の幅を取得します。

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

プロパティ値

行の先頭と末尾の配置ポイントの間の幅 (末尾の空白文字を除く)。 デバイスに依存しないユニット (ユニットあたり 1/96 インチ) で提供されます。

注釈

複数行のテキストの場合、 Width 値には最も長い行が使用されます。

適用対象