Ascent Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the ascent measurement for the current font, in pixels.

Namespace:  Microsoft.SPOT
Assembly:  Microsoft.SPOT.Graphics (in Microsoft.SPOT.Graphics.dll)

Syntax

'Declaration
Public ReadOnly Property Ascent As Integer
public int Ascent { get; }
public:
property int Ascent {
    int get ();
}
member Ascent : int
function get Ascent () : int

Property Value

Type: System. . :: . .Int32
The ascent measurement for the current font, in pixels.

Remarks

A font's ascent is the vertical distance between the font baseline and the top of the font area.

.NET Framework Security

See Also

Reference

Font Class

Microsoft.SPOT Namespace