Hi,
Is there a way to show the the first row of the excel worksheet on every page of a pdf document which is created by converting an excel document to pdf.
I tried freezing the the row before converting the excel to pdf but that did not help.
I basically want to show the first row of the excel spreadsheet on every page of the pdf document
Below is a snippet of the code in use:
IRange range = worksheet[2, 1];
range.FreezePanes();
XlsIORendererSettings settings = new XlsIORendererSettings();
settings.LayoutOptions = LayoutOptions.FitAllColumnsOnOnePage;
settings.DisplayGridLines = GridLinesDisplayStyle.Visible;
XlsIORenderer renderer = new XlsIORenderer();
PdfDocument pdfDocument = renderer.ConvertToPDF(worksheet, settings);
.........