I want to save all sheets from my Excel file to a PDF. Currently, I'm using GemBox.Spreadsheet for this:
var workbook = ExcelFile.Load("file.xlsx");
var options = new PdfSaveOptions() { SelectionType = SelectionType.EntireFile };
workbook.Save("file.pdf", options);
Now I want to have the sheet names (each ExcelWorksheet.Name) shown as bookmarks in that output PDF. How can I do that?
Currently, that's not possible with just GemBox.Spreadsheet, but you can do that together with GemBox.Pdf.
If each sheet is exported as a single page, then you can do this:
If each sheet can be exported as multiple pages, then you can do this: