Поделиться через


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

See Also

Reference

TextBounds Structure

Microsoft.VisualStudio.Text.Formatting Namespace