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


GrapeCity.Spreadsheet Assembly > GrapeCity.Spreadsheet Namespace > Font Structure > Font Constructor : Font Constructor(Font,FontStyle)
The existing Font from which to create the new Font.
The FontStyle to apply to the new Font.
Initializes a new instance of the Font struct that uses the specified existing Font and FontStyle enumeration.
Syntax
'Declaration
 
Public Function New( _
   ByVal prototype As Font, _
   ByVal fontStyle As FontStyle _
)
'Usage
 
Dim prototype As Font
Dim fontStyle As FontStyle
 
Dim instance As New Font(prototype, fontStyle)
public Font( 
   Font prototype,
   FontStyle fontStyle
)

Parameters

prototype
The existing Font from which to create the new Font.
fontStyle
The FontStyle to apply to the new Font.
See Also

Reference

Font Structure
Font Members
Overload List