Spread Windows Forms 12.0 Product Documentation
Font Constructor(Color,FontStyle)


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

Reference

Font Structure
Font Members
Overload List