Partager via


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: 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