NativeExcel2 for .Net Developer's Reference

IPageSetup.SetPrintTitleColumnsMethod(Int32)

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

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

Parameters

Column
Integer. Indicates the index of the column (one-based).

Example

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

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

See Also

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