TextBounds.Width Property
Gets the distance between the leading and trailing edges of the rectangle in the text rendering coordinate system.
Namespace: Microsoft.VisualStudio.Text.Formatting
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Syntax
'Declaration
Public ReadOnly Property Width As Double
public double Width { get; }
public:
property double Width {
double get ();
}
member Width : float with get
function get Width () : double
Property Value
Type: Double
The distance between the leading and trailing edges of the rectangle in the text rendering coordinate system.
Remarks
This value is always non-negative.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.