Edit

Bagikan melalui


FormattedText.Width Property

Definition

Gets the width between the leading and trailing alignment points of a line, excluding any trailing white-space characters.

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

Property Value

The width between the leading and trailing alignment points of a line, excluding any trailing white-space characters. Provided in device-independent units (1/96th inch per unit).

Remarks

For multi-line text, the longest line is used for the Width value.

Applies to