LibXL C++ API reference version 5.2.0
- Index Book Sheet Format Font AutoFilter FilterColumn RichString FormControl ConditionalFormatting ConditionalFormat CoreProperties Table ### Font class reference int size() const Returns the size of the font in points. void setSize(int size) Sets the size of the font in points. bool italic() const Returns whether the font is italic. void setItalic(bool italic = true) Turns on/off the italic font. bool strikeOut() const Returns whether the font is strikeout. void setStrikeOut(bool strikeOut = true) Turns on/off the strikeout font. Color color() const Returns the color of the font. void setColor(Color color) Sets the color of the font. bool bold() const Returns whether the font is bold. void setBold(bool bold = true) Turns on/off the bold font. Script script() const Returns the script style of the font. void setScript(Script script) Sets the script style of the font.
  Script value | View
  SCRIPT_NORMAL | TEXT SCRIPT_NORMAL
  SCRIPT_SUPER | TEXTSCRIPT_SUPER
  SCRIPT_SUB | TEXTSCRIPT_SUB
- Underline underline() const Returns the underline style of the font. void setUnderline(Underline underline) Sets the underline style of the font.
  Underline value | View
  UNDERLINE_NONE |
  UNDERLINE_SINGLE |
  UNDERLINE_DOUBLE |
  UNDERLINE_SINGLEACC |
  UNDERLINE_DOUBLEACC |
const wchar_t* name() const Returns the name of the font. bool setName(const wchar_t* name) Sets the name of the font. Default name is "Arial". Index Book Sheet Format Font AutoFilter FilterColumn RichString FormControl ConditionalFormatting ConditionalFormat CoreProperties Table