ComponentOne CalendarView for WinForms
C1.Framework.Drawing.Gdi Namespace / FontBuilder Class / Height Property

In This Topic
    Height Property (FontBuilder)
    In This Topic
    Get or set the height, in logical units, of the font's character cell or character. The character height value (also known as the em height) is the character cell height value minus the internal-leading value.
    Syntax
    'Declaration
     
    
    Public Property Height As Integer
    public int Height {get; set;}

    Property Value

    An int indicate the height

    if value larger than zero, the font mapper transforms this value into device units and matches it against the cell height of the available fonts.

    if value equal zero, the font mapper uses a default height value when it searches for a match.

    if value less than zero, the font mapper transforms this value into device units and matches its absolute value against the character height of the available fonts.

    See Also