ExcelFont Constructor(String,Single,Boolean,Boolean,Boolean,Boolean,Byte,Byte)
In This Topic
Initializes a new instance of the
ExcelFont class.
Syntax
'Declaration
Public Function New( _
ByVal As String, _
ByVal As Single, _
ByVal As Boolean, _
ByVal As Boolean, _
ByVal As Boolean, _
ByVal As Boolean, _
ByVal As Byte, _
ByVal As Byte _
)
'Usage
Dim familyName As String
Dim fontSize As Single
Dim bold As Boolean
Dim italic As Boolean
Dim underline As Boolean
Dim strikeout As Boolean
Dim family As Byte
Dim charSet As Byte
Dim instance As New ExcelFont(familyName, fontSize, bold, italic, underline, strikeout, family, charSet)
public ExcelFont(
string ,
float ,
bool ,
bool ,
bool ,
bool ,
byte ,
byte
)
Parameters
- familyName
- fontSize
- bold
- italic
- underline
- strikeout
- family
- charSet
See Also