worksheet_set_margins

@brief Set the worksheet margins for the printed page.

@param worksheet Pointer to a lxw_worksheet instance to be updated. @param left Left margin in inches. Excel default is 0.7. @param right Right margin in inches. Excel default is 0.7. @param top Top margin in inches. Excel default is 0.75. @param bottom Bottom margin in inches. Excel default is 0.75.

The %worksheet_set_margins() function is used to set the margins of the worksheet when it is printed. The units are in inches. Specifying -1 for any parameter will give the default Excel value as shown above.

@code worksheet_set_margins(worksheet, 1.3, 1.2, -1, -1); @endcode

extern (C)
void
worksheet_set_margins
(,
double left
,
double right
,
double top
,
double bottom
)

Meta