FormattedText.WidthIncludingTrailingWhitespace Property

Definition

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

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

Property Value

The width between the leading and trailing alignment points of a line, including 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 WidthIncludingTrailingWhitespace value.

Applies to