Hi, I need to ignore / skip few worksheet while converting into PDF. When i browsed the internet, found that PdfSaveOptions.SheetSet can be used for the same, but i am using Aspose.Totals 18.5 version and i am getting SheetSet undefined error message. So wanted to check is there other approach to achieve the same. Please suggest.
@koteswaragunda
You can choose to hide worksheets that do not need to be exported to achieve your goals. Please refer to the attachment. result.zip (64.3 KB)
The sample code as follows:
Workbook wb = new Workbook(filePath + "sample.xlsx");
wb.Save(filePath + "out_net.pdf");
wb.Worksheets[0].SetVisible(false, true);
wb.Worksheets[1].SetVisible(false, true);
wb.Save(filePath + "out_net2.pdf");
Hope helps a bit.