[]
Excel font initialization.
public XLFont(string fontName, float fontSize)
Public Sub New(fontName As String, fontSize As Single)
| Type | Name | Description |
|---|---|---|
| string | fontName | The font name, by default Arial. |
| float | fontSize | The font size in points, by default 10 pt. |
Excel font initialization.
public XLFont(string fontName, float fontSize, Color color)
Public Sub New(fontName As String, fontSize As Single, color As Color)
| Type | Name | Description |
|---|---|---|
| string | fontName | The font name, by default Arial. |
| float | fontSize | The font size in points, by default 10 pt. |
| Color | color | The foreground color of the font, by default Black. |
Excel font initialization.
public XLFont(string fontName, float fontSize, bool bold, bool italic)
Public Sub New(fontName As String, fontSize As Single, bold As Boolean, italic As Boolean)
| Type | Name | Description |
|---|---|---|
| string | fontName | The font name, by default Arial. |
| float | fontSize | The font size in points, by default 10 pt. |
| bool | bold | The bold flag of the font. |
| bool | italic | The italic flag of the font. |
Excel font initialization.
public XLFont(string fontName, float fontSize, bool bold, bool italic, Color color)
Public Sub New(fontName As String, fontSize As Single, bold As Boolean, italic As Boolean, color As Color)
| Type | Name | Description |
|---|---|---|
| string | fontName | The font name, by default Arial. |
| float | fontSize | The font size in points, by default 10 pt. |
| bool | bold | The bold flag of the font. |
| bool | italic | The italic flag of the font. |
| Color | color | The foreground color of the font, by default Black. |
Excel font initialization.
public XLFont(string fontName, float fontSize, bool bold, bool italic, bool strikeout, XLFontScript fs, XLUnderlineStyle us, Color color)
Public Sub New(fontName As String, fontSize As Single, bold As Boolean, italic As Boolean, strikeout As Boolean, fs As XLFontScript, us As XLUnderlineStyle, color As Color)
| Type | Name | Description |
|---|---|---|
| string | fontName | The font name, by default Arial. |
| float | fontSize | The font size in points, by default 10 pt. |
| bool | bold | The bold flag of the font. |
| bool | italic | The italic flag of the font. |
| bool | strikeout | The strikeout flag of the font. |
| XLFontScript | fs | The font superscript/subscript, by default None. |
| XLUnderlineStyle | us | Select XLUnderlineStyle as underline style, by default None. |
| Color | color | The foreground color of the font, by default Black. |
Excel font initialization.
public XLFont(string fontName, float fontSize, bool bold, bool italic, bool strikeout, XLFontScript fs, XLUnderlineStyle us, Color color, byte charSet)
Public Sub New(fontName As String, fontSize As Single, bold As Boolean, italic As Boolean, strikeout As Boolean, fs As XLFontScript, us As XLUnderlineStyle, color As Color, charSet As Byte)
| Type | Name | Description |
|---|---|---|
| string | fontName | The font name, by default Arial. |
| float | fontSize | The font size in points, by default 10 pt. |
| bool | bold | The bold flag of the font. |
| bool | italic | The italic flag of the font. |
| bool | strikeout | The strikeout flag of the font. |
| XLFontScript | fs | The font superscript/subscript, by default None. |
| XLUnderlineStyle | us | Select XLUnderlineStyle as underline style, by default None. |
| Color | color | The foreground color of the font, by default Black. |
| byte | charSet | The character set of the font, by default zero. |