ComponentOne CalendarView for WinForms
C1.Framework.Drawing.Gdi Namespace / FontBuilder Class / FontBuilder Constructor / FontBuilder Constructor(String,FontFamily,Int32,Int32,Int32,Int32,Boolean,Boolean,Boolean,Int32,Byte,FontOutPrecision,FontClipPrecision,FontQuality,FontPitch)
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.
Specifies the angle, in tenths of degrees, between the escapement vector and the x-axis of the device. The escapement vector is parallel to the base line of a row of text.
Specifies the average width, in logical units, of characters in the font. If width is zero, the aspect ratio of the device is matched against the digitization aspect ratio of the available fonts to find the closest match, determined by the absolute value of the difference.
Specifies the weight of the font in the range 0 through 1000. For example, 400 is normal and 700 is bold. If this value is zero, a default weight is used. The following values are defined for convenience.
Specifies an italic font if set to true.
Specifies an underlined font if set to true.
Specifies a strikeout font if set to true.
Specifies the angle, in tenths of degrees, between each character's base line and the x-axis of the device.
Specifies the character set.
Specifies the output precision. The output precision defines how closely the output must match the requested font's height, width, character orientation, escapement, pitch, and font type.
Specifies the clipping precision. The clipping precision defines how to clip characters that are partially outside the clipping region. It can be one or more of the following values.
Specifies the output quality. The output quality defines how carefully the graphics device interface (GDI) must attempt to match the logical-font attributes to those of an actual physical font.
Specifies the pitch of the font

In This Topic
    FontBuilder Constructor(String,FontFamily,Int32,Int32,Int32,Int32,Boolean,Boolean,Boolean,Int32,Byte,FontOutPrecision,FontClipPrecision,FontQuality,FontPitch)
    In This Topic
    Initialize a new FontBuilder
    Syntax

    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.
    escapement
    Specifies the angle, in tenths of degrees, between the escapement vector and the x-axis of the device. The escapement vector is parallel to the base line of a row of text.
    width
    Specifies the average width, in logical units, of characters in the font. If width is zero, the aspect ratio of the device is matched against the digitization aspect ratio of the available fonts to find the closest match, determined by the absolute value of the difference.
    weight
    Specifies the weight of the font in the range 0 through 1000. For example, 400 is normal and 700 is bold. If this value is zero, a default weight is used. The following values are defined for convenience.
    italic
    Specifies an italic font if set to true.
    underline
    Specifies an underlined font if set to true.
    strikeOut
    Specifies a strikeout font if set to true.
    orientation
    Specifies the angle, in tenths of degrees, between each character's base line and the x-axis of the device.
    charSet
    Specifies the character set.
    outPrecision
    Specifies the output precision. The output precision defines how closely the output must match the requested font's height, width, character orientation, escapement, pitch, and font type.
    clipPrecision
    Specifies the clipping precision. The clipping precision defines how to clip characters that are partially outside the clipping region. It can be one or more of the following values.
    quality
    Specifies the output quality. The output quality defines how carefully the graphics device interface (GDI) must attempt to match the logical-font attributes to those of an actual physical font.
    pitch
    Specifies the pitch of the font
    See Also