Partager via


TextBounds.Top Property

Gets the position of the top 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 Top As Double
public double Top { get; }
public:
property double Top {
    double get ();
}
member Top : float with get
function get Top () : double

Property Value

Type: Double
The position of the top edge of the rectangle in the text rendering coordinate system.

.NET Framework Security

See Also

Reference

TextBounds Structure

Microsoft.VisualStudio.Text.Formatting Namespace