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
'Декларация
Public ReadOnly Property Width As Double
Get
public double Width { get; }
public:
property double Width {
double get ();
}
member Width : float
function get Width () : double
Property Value
Type: System.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.