Skip to content
shoaibkhan-aspose edited this page Jun 20, 2014 · 2 revisions

Aspose.Cells

//Obtaining the reference of the PageSetup of the worksheet
PageSetup pageSetup = sheet.getPageSetup();     

//Defining column numbers A & B as title columns
pageSetup.setPrintTitleColumns("$A:$B");

//Defining row numbers 1 & 2 as title rows
pageSetup.setPrintTitleRows("$1:$2");

Download Source Code

Clone this wiki locally