ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi Namespace / Font Class / Font Constructor / Font Constructor(String,Single,FontStyle,Byte)
A string representation of the System.Drawing.FontFamily object for the new Font object.
The size of the new Font object.
The System.Drawing.FontStyle enumeration to be applied to the new Font object.
A Byte that specifies a GDI character set to use for this font.

In This Topic
    Font Constructor(String,Single,FontStyle,Byte)
    In This Topic
    Initializes a new Font object using the specified settings.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal fontName As String, _
       ByVal size As Single, _
       ByVal style As FontStyle, _
       ByVal charSet As Byte _
    )

    Parameters

    fontName
    A string representation of the System.Drawing.FontFamily object for the new Font object.
    size
    The size of the new Font object.
    style
    The System.Drawing.FontStyle enumeration to be applied to the new Font object.
    charSet
    A Byte that specifies a GDI character set to use for this font.
    See Also