ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi Namespace / FontBuilder Class / FontBuilder Constructor / FontBuilder Constructor(String,FontFamily,Int32,FontStyle,Int32)
A null-terminated string that specifies the typeface name of the font. The length of this string must not exceed 32 characters, including the terminating null character. The EnumFontFamiliesEx function can be used to enumerate the typeface names of all currently available fonts. If faceName is an empty string, GDI uses the first font that matches the other specified attributes.
Specifies the family of the font
Specifies 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.
A System.Drawing.FontStyle indicate the font style.
Specifies the angle, in tenths of degrees, between each character's base line and the x-axis of the device.

In This Topic
    FontBuilder Constructor(String,FontFamily,Int32,FontStyle,Int32)
    In This Topic
    Initialize a new FontBuilder by special faceName, family, height and fontStyle
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal faceName As String, _
       ByVal family As FontFamily, _
       ByVal height As Integer, _
       ByVal fontStyle As FontStyle, _
       ByVal orientation As Integer _
    )
    public FontBuilder( 
       string faceName,
       FontFamily family,
       int height,
       FontStyle fontStyle,
       int orientation
    )

    Parameters

    faceName
    A null-terminated string that specifies the typeface name of the font. The length of this string must not exceed 32 characters, including the terminating null character. The EnumFontFamiliesEx function can be used to enumerate the typeface names of all currently available fonts. If faceName is an empty string, GDI uses the first font that matches the other specified attributes.
    family
    Specifies the family of the font
    height
    Specifies 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.
    fontStyle
    A System.Drawing.FontStyle indicate the font style.
    orientation
    Specifies the angle, in tenths of degrees, between each character's base line and the x-axis of the device.
    See Also