ITextViewLine.TextRight Property

Gets the x-coordinate of the right edge of the text in the rendered line.

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

Syntax

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

Property Value

Type: System.Double
The x-coordinate of the right edge of the text in the rendered line.

Remarks

This does not include the EndOfLineWidth for lines that have a line break.

.NET Framework Security

See Also

Reference

ITextViewLine Interface

Microsoft.VisualStudio.Text.Formatting Namespace