Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / Font Structure / Font Constructor / Font Constructor(Color,FontStyle)
A Color value indicates the color of font color.
The FontStyle to apply to the new Font.


In This Topic
    Font Constructor(Color,FontStyle)
    In This Topic
    Initializes a new instance of the Font struct that uses the specified existing Font and Color value.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal color As Color, _
       ByVal fontStyle As FontStyle _
    )
    'Usage
     
    
    Dim color As Color
    Dim fontStyle As FontStyle
     
    Dim instance As New Font(color, fontStyle)
    public Font( 
       Color color,
       FontStyle fontStyle
    )

    Parameters

    color
    A Color value indicates the color of font color.
    fontStyle
    The FontStyle to apply to the new Font.
    See Also