[]
Excel font initialization.
public XLFont(string fontName, float fontSize)
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)
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)
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)
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, byte charSet = 0)
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. |