FormattedText.Width Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.