worksheet_set_print_scale

@brief Set the scale factor for the printed page.

@param worksheet Pointer to a lxw_worksheet instance to be updated. @param scale Print scale of worksheet to be printed.

This function sets the scale factor of the printed page. The Scale factor must be in the range 10 <= scale <= 400:

@code worksheet_set_print_scale(worksheet1, 75); worksheet_set_print_scale(worksheet2, 400); @endcode

The default scale factor is 100. Note, %worksheet_set_print_scale() does not affect the scale of the visible page in Excel. For that you should use worksheet_set_zoom().

Note that although it is valid to use both worksheet_fit_to_pages() and %worksheet_set_print_scale() on the same worksheet Excel only allows one of these options to be active at a time. The last function call made will set the active option.

extern (C)
void
worksheet_set_print_scale

Meta