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
'宣言
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
- 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.