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
声明
Public ReadOnly Property Leading As Double
Get
public double Leading { get; }
public:
property double Leading {
double get ();
}
member Leading : float
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.