Menu

Set Print Titles

Shoaib

Aspose.Cells - Set Print Titles

//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


Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.