@brief Set the number of rows to repeat at the top of each printed page.
@param worksheet Pointer to a lxw_worksheet instance to be updated.
@param first_row First row of repeat range.
@param last_row Last row of repeat range.
@return A #lxw_error code.
For large Excel documents it is often desirable to have the first row or
rows of the worksheet print out at the top of each page.
This can be achieved by using this function. The parameters first_row
and last_row are zero based:
@code
worksheet_repeat_rows(worksheet, 0, 0); // Repeat the first row.
worksheet_repeat_rows(worksheet, 0, 1); // Repeat the first two rows.
@endcode
@brief Set the number of rows to repeat at the top of each printed page.
@param worksheet Pointer to a lxw_worksheet instance to be updated. @param first_row First row of repeat range. @param last_row Last row of repeat range.
@return A #lxw_error code.
For large Excel documents it is often desirable to have the first row or rows of the worksheet print out at the top of each page.
This can be achieved by using this function. The parameters first_row and last_row are zero based:
@code worksheet_repeat_rows(worksheet, 0, 0); // Repeat the first row. worksheet_repeat_rows(worksheet, 0, 1); // Repeat the first two rows. @endcode