We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Exclude worksheets for pdf-file generation

Dear all, <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

I have a workbook containing presentation and “background” data sheets (needed for charts).How can I exclude these data sheets if I save the workbook in pdf format?



Well, you may hide your unwanted sheets before saving the workbook to pdf format.


workbook.Worksheets[“DataSheet1”].IsVisible = false;

Thank you.