format_set_font_name

@brief Set the font used in the cell.

@param format Pointer to a Format instance. @param font_name Cell font name.

Specify the font used used in the cell format:

@code format_set_font_name(format, "Avenir Black Oblique"); @endcode

@image html format_set_font_name.png

Excel can only display fonts that are installed on the system that it is running on. Therefore it is generally best to use the fonts that come as standard with Excel such as Calibri, Times New Roman and Courier New.

The default font in Excel 2007, and later, is Calibri.

extern (C)
void
format_set_font_name
(,
const char* font_name
)

Meta