ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi Namespace / Font Class / Font Constructor / Font Constructor(String,Single)
A string representation of the System.Drawing.FontFamily object for the new Font object.
The size of the new Font object.

In This Topic
    Font Constructor(String,Single)
    In This Topic
    Initializes a new Font object using the specified font attributes.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal fontName As String, _
       ByVal size As Single _
    )
    public Font( 
       string fontName,
       float size
    )

    Parameters

    fontName
    A string representation of the System.Drawing.FontFamily object for the new Font object.
    size
    The size of the new Font object.
    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