• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support

Set print titles

Repeat the first row and first column on every page.

Output: PrintTitles.xlsx

public void Run()
{
    var workbook = new Workbook();
    var worksheet = workbook.Worksheets[0];

    worksheet.PageSetup.Sheet.PrintTitlesRowsToRepeat = "$1:$1";
    worksheet.PageSetup.Sheet.PrintTitlesColumnsToRepeat = "$A:$A";

    workbook.SaveAs("PrintTitles.xlsx");
}
  • Improve this Doc
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX