I am saving a xlsx sheet to PDF file, the newly created PDF file contains blank page after each table page. Is there any setting to turn it off? Here are the code:
_asposeOrigWorkbook = new Workbook("c:\\Executive Budget v Goal.xlsx"); _asposeUpdatedWorkbook = new Workbook(); _asposeUpdatedWorkbook.copy(_asposeOrigWorkbook); _asposeUpdatedWorkbook.save("c:\\Executive Budget v Goal.pdf")
you can see from my attached files, there are extra blank page shown up in PDF file.
Thanks for your posting and using Aspose.Cells for Java.
Aspose.Cells renders PDF in a same way as MS-Excel renders PDF in Print Preview. If you check your workbook in MS-Excel Print Preview, you will see blank pages are also there. So it is not a bug of Aspose.Cells.
If you want to get rid of blank pages, you can save your pdf as
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.