@brief Set the printed page header caption with additional options.
@param worksheet Pointer to a lxw_worksheet instance to be updated. @param string The header string. @param options Header options.
@return A #lxw_error code.
The syntax of this function is the same as worksheet_set_header() with an additional parameter to specify options for the header.
Currently, the only available option is the header margin:
@code
lxw_header_footer_options header_options = { 0.2 };
worksheet_set_header_opt(worksheet, "Some text", &header_options);
@endcode
See Implementation
@brief Set the printed page header caption with additional options.
@param worksheet Pointer to a lxw_worksheet instance to be updated. @param string The header string. @param options Header options.
@return A #lxw_error code.
The syntax of this function is the same as worksheet_set_header() with an additional parameter to specify options for the header.
Currently, the only available option is the header margin:
@code
lxw_header_footer_options header_options = { 0.2 };
worksheet_set_header_opt(worksheet, "Some text", &header_options);
@endcode