@brief Struct to represent the formatting properties of an Excel format.
Formats in libxlsxwriter are accessed via this struct.
The members of the lxw_format struct aren't modified directly. Instead the format properties are set by calling the functions shown in format.h.
For example:
@code // Create the Format. lxw_format *format = workbook_add_format(workbook);
// Set some of the format properties. format_set_bold(format); format_set_font_color(format, LXW_COLOR_RED);
// Use the format to change the text format in a cell. worksheet_write_string(worksheet, 0, 0, "Hello", format);
@endcode
See Implementation
@brief Struct to represent the formatting properties of an Excel format.
Formats in libxlsxwriter are accessed via this struct.
The members of the lxw_format struct aren't modified directly. Instead the format properties are set by calling the functions shown in format.h.
For example:
@code // Create the Format. lxw_format *format = workbook_add_format(workbook);
// Set some of the format properties. format_set_bold(format); format_set_font_color(format, LXW_COLOR_RED);
// Use the format to change the text format in a cell. worksheet_write_string(worksheet, 0, 0, "Hello", format);
@endcode