TextBounds.Leading Property
Gets the position of the leading 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
'Declaration
Public ReadOnly Property Leading As Double
public double Leading { get; }
public:
property double Leading {
double get ();
}
member Leading : float with get
function get Leading () : double
Property Value
Type: System.Double
The position of the leading edge of the rectangle in the text rendering coordinate system.
Remarks
In right-to-left text, the leading edge is to the right of the trailing edge.
.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.