Sets the rows that contain the cells to be repeated at the top of each page by using rows indexes.
Sets the first row to be repeated on the top of each page.
[Visual Basic] Sub SetPrintTitleRows()
[C#] void SetPrintTitleRows();
[C++] void SetPrintTitleRows();
[JScript] function SetPrintTitleRows();
Sets the specified row to be repeated on the top of each page.
[Visual Basic] Sub SetPrintTitleRows(ByVal Integer)
[C#] void SetPrintTitleRows(int);
[C++] void SetPrintTitleRows(int);
[JScript] function SetPrintTitleRows(int);
Sets the specified range of rows to be repeated on the top of each page.
[Visual Basic] Sub SetPrintTitleRows(ByVal Integer,ByVal Integer)
[C#] void SetPrintTitleRows(int,int);
[C++] void SetPrintTitleRows(int,int);
[JScript] function SetPrintTitleRows(int,int);
This example defines row two through four as the title rows.
[C#]
book.Worksheets[1].PageSetup.SetPrintTitleRows(2, 3);
[Visual Basic]
book.Worksheets(1).PageSetup.SetPrintTitleRows(2, 3)
[C++]
book->Worksheets->Item[1]->PageSetup->SetPrintTitleRows(2, 3);
IPageSetup Interface | NativeExcel Namespace | PageSetup Property | SetPrintTitleColumns Method | PrintTitleRows Property | PrintTitleRowsDefined Property