Spread Windows Forms 12.0 Product Documentation
Font Constructor(FontFamily,String,Double,FontStyle,Color,UnderlineStyle,VerticalTextAlignment,ThemeFont)


GrapeCity.Spreadsheet Assembly > GrapeCity.Spreadsheet Namespace > Font Structure > Font Constructor : Font Constructor(FontFamily,String,Double,FontStyle,Color,UnderlineStyle,VerticalTextAlignment,ThemeFont)
The _fontFamily associated with this Font.
A string value indicates the face name of this Font.
An double value indicates the em-size of this Font.
A FontStyle value indicates style information for this Font.
A Color value indicates the color of font color.
A _fontUnderline value indicates the underline of this Font.
A VerticalTextAlignment value indicates the vertical alignment of this Font.
A ThemeFont value indicates the theme font.
Initializes a new instance of the Font struct.
Syntax
'Declaration
 
Public Function New( _
   ByVal fontFamily As FontFamily, _
   ByVal name As String, _
   ByVal size As Double, _
   ByVal fontStyle As FontStyle, _
   ByVal color As Color, _
   Optional ByVal underline As UnderlineStyle, _
   Optional ByVal verTextAlign As VerticalTextAlignment, _
   Optional ByVal themeFont As ThemeFont _
)
'Usage
 
Dim fontFamily As FontFamily
Dim name As String
Dim size As Double
Dim fontStyle As FontStyle
Dim color As Color
Dim underline As UnderlineStyle
Dim verTextAlign As VerticalTextAlignment
Dim themeFont As ThemeFont
 
Dim instance As New Font(fontFamily, name, size, fontStyle, color, underline, verTextAlign, themeFont)

Parameters

fontFamily
The _fontFamily associated with this Font.
name
A string value indicates the face name of this Font.
size
An double value indicates the em-size of this Font.
fontStyle
A FontStyle value indicates style information for this Font.
color
A Color value indicates the color of font color.
underline
A _fontUnderline value indicates the underline of this Font.
verTextAlign
A VerticalTextAlignment value indicates the vertical alignment of this Font.
themeFont
A ThemeFont value indicates the theme font.
See Also

Reference

Font Structure
Font Members
Overload List