worksheet_repeat_columns

@brief Set the number of columns to repeat at the top of each printed page.

@param worksheet Pointer to a lxw_worksheet instance to be updated. @param first_col First column of repeat range. @param last_col Last column of repeat range.

@return A #lxw_error code.

For large Excel documents it is often desirable to have the first column or columns of the worksheet print out at the left of each page.

This can be achieved by using this function. The parameters first_col and last_col are zero based:

@code worksheet_repeat_columns(worksheet, 0, 0); // Repeat the first col. worksheet_repeat_columns(worksheet, 0, 1); // Repeat the first two cols. @endcode

Meta