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

See Also

Reference

TextBounds Structure

Microsoft.VisualStudio.Text.Formatting Namespace