Table of Contents

Method SetPrintTitleRows

Namespace
DocWright.Spreadsheet
Assembly
DocWright.Spreadsheet.dll

SetPrintTitleRows(int, int)

Sets the rows repeated at the top of each page (Excel's Print Titles, rows to repeat at top); 0 and 0 for none.

public void SetPrintTitleRows(int first, int last)

Parameters

first int

The first row, one-based.

last int

The last row.

Exceptions

ArgumentOutOfRangeException

The rows are not in the grid, or the last is before the first.