libxlsxwriter
Loading...
Searching...
No Matches
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, and watermark.c.

Data Fields

double margin
 
const char * image_left
 
const char * image_center
 
const 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

const 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

const 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().

Examples
watermark.c.

◆ image_right

const 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().