Partager via


TextBounds.Trailing Property

Gets the position of the trailing edge 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

'Déclaration
Public ReadOnly Property Trailing As Double
public double Trailing { get; }
public:
property double Trailing {
    double get ();
}
member Trailing : float
function get Trailing () : double

Property Value

Type: System.Double
The position of the trailing edge of the rectangle in the text rendering coordinate system.

Remarks

In right-to-left text, the trailing edge is positioned to the left of the leading edge.

If the text has a end-of-line glyph that has a width greater than zero, this property includes the width of that glyph.

.NET Framework Security

See Also

Reference

TextBounds Structure

Microsoft.VisualStudio.Text.Formatting Namespace