NativeExcel2 for .Net Developer's Reference

IPageSetup.SetPrintTitleColumnsMethod()

Sets the first column to be repeated on the left side of each page.

[Visual Basic]
SubSetPrintTitleColumns()
[C#]
voidSetPrintTitleColumns();
[C++]
voidSetPrintTitleColumns();
[JScript]
functionSetPrintTitleColumns();

Example

This example sets the first column to be repeated on the left side of each page.

[C#]
  book.Worksheets[1].PageSetup.SetPrintTitleColumns();
[VisualBasic]
  book.Worksheets(1).PageSetup.SetPrintTitleColumns()   
[C++]
  book->Worksheets->Item[1]->PageSetup->SetPrintTitleColumns();   

See Also

IPageSetup Interface | NativeExcel Namespace | IPageSetup.SetPrintTitleColumns Overload List | PageSetup Property | SetPrintTitleRows Method | PrintTitleColumns Property | PrintTitleColumnsDefined Property