ComponentOne Excel for .NET
C1.Excel Assembly / C1.Excel Namespace / XLFont Class / XLFont Constructor / XLFont Constructor(String,Single,Boolean,Boolean)
The font name, by default Arial.
The font size in points, by default 10 pt.
The bold flag of the font.
The italic flag of the font.

In This Topic
    XLFont Constructor(String,Single,Boolean,Boolean)
    In This Topic
    Excel font initialization.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal fontName As System.String, _
       ByVal fontSize As System.Single, _
       ByVal bold As System.Boolean, _
       ByVal italic As System.Boolean _
    )
    public XLFont( 
       System.string fontName,
       System.float fontSize,
       System.bool bold,
       System.bool italic
    )

    Parameters

    fontName
    The font name, by default Arial.
    fontSize
    The font size in points, by default 10 pt.
    bold
    The bold flag of the font.
    italic
    The italic flag of the font.
    See Also