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.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also