XLFont Constructor(String,Single,Boolean,Boolean,Boolean,XLFontScript,XLUnderlineStyle,Color)
In This Topic
Excel font initialization.
Syntax
'Declaration
Public Function New( _
ByVal As System.String, _
ByVal As System.Single, _
ByVal As System.Boolean, _
ByVal As System.Boolean, _
ByVal As System.Boolean, _
ByVal As XLFontScript, _
ByVal As XLUnderlineStyle, _
ByVal As System.Drawing.Color _
)
public XLFont(
System.string ,
System.float ,
System.bool ,
System.bool ,
System.bool ,
XLFontScript ,
XLUnderlineStyle ,
System.Drawing.Color
)
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.
- strikeout
- The strikeout flag of the font.
- fs
- The font superscript/subscript, by default None.
- us
- Select XLUnderlineStyle as underline style, by default None.
- color
- The foreground color of the font, by default Black.
See Also