libxlsxwriter
Data Fields
lxw_header_footer_options Struct Reference

Header and footer options. More...

Detailed Description

Optional parameters used in the worksheet_set_header_opt() and worksheet_set_footer_opt() functions.

Examples
headers_footers.c.

Data Fields

double margin
 
char * image_left
 
char * image_center
 
char * image_right
 

Field Documentation

◆ margin

double lxw_header_footer_options::margin

Header or footer margin in inches. Excel default is 0.3. Must by larger than 0.0. See worksheet_set_header_opt().

◆ image_left

char* lxw_header_footer_options::image_left

The left header image filename, with path if required. This should have a corresponding &G/&[Picture] placeholder in the &L section of the header/footer string. See worksheet_set_header_opt().

Examples
headers_footers.c.

◆ image_center

char* lxw_header_footer_options::image_center

The center header image filename, with path if required. This should have a corresponding &G/&[Picture] placeholder in the &C section of the header/footer string. See worksheet_set_header_opt().

◆ image_right

char* lxw_header_footer_options::image_right

The right header image filename, with path if required. This should have a corresponding &G/&[Picture] placeholder in the &R section of the header/footer string. See worksheet_set_header_opt().