Compartilhar via


ITextViewLine.TextWidth Property

Gets the horizontal distance between TextRight and TextLeft.

Namespace:  Microsoft.VisualStudio.Text.Formatting
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Syntax

'Declaration
ReadOnly Property TextWidth As Double
double TextWidth { get; }
property double TextWidth {
    double get ();
}
abstract TextWidth : float with get
function get TextWidth () : double

Property Value

Type: Double
The horizontal distance between TextRight and TextLeft.

.NET Framework Security

See Also

Reference

ITextViewLine Interface

Microsoft.VisualStudio.Text.Formatting Namespace