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.
    See Also