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

Free Support Forum - aspose.com

Saving as PDF is not the same as Excel's output

Dear Aspose,

I am writing to raise my concern over the PDF saving issue.

I have the following excel file from my clients.

Excel can export the file to PDF successfully (2 pages)
while there is some issue when using Aspose 17.5.2 to save the file to PDF.
The “Aspose to PDF.pdf” has 4 pages in total.

The code I used is
Workbook wb = new Workbook(“Output Excel.xlsx”);
wb.Save(“Aspose To PDF.pdf”);

I have tried
1. deleting column O
2. deleting the left border on column O and re-added right border the column N
But it has no use.

Would you mind helping me to take a look in what is wrong
or did I miss any necessary settings?

Please find the files I have used / generated attached.

many thanks,
Jonathan Lau


Thanks for your posting and using Aspose.Cells.

We were able to observe this issue and logged it in our database for a fix.

This issue has been logged as

  • CELLSNET-45376 - Aspose.Cells saved Pdf is not like Excel saved Pdf

Dear shakeel,

Thank you very much for the quick response.

Would you mind telling me how should I come up with the 10.24 * 13.25 in my program?



Thanks for your posting and using Aspose.Cells.

Microsoft Excel on my machine is not generating the Pdf with correct dimensions. But the Pdf provided by you is correct unlike Aspose.Cells generated Pdf. So, we have logged this issue in our database for investigation and for a fix.


Thanks for using Aspose.Cells.

This is to inform you that we have fixed your issue CELLSNET-45376 now. We will soon provide the fix after performing QA and including other enhancements and fixes.

Thanks for using Aspose.Cells.

Please download and try the following latest fix

Aspose.Cells for .NET v17.5.4 (.NET 2.0) compiled in .NET Framework 2.0.
Aspose.Cells for .NET v17.5.4 (.NET 4.0) compiled in .NET Framework 4.0.

and let us know your feedback.

The issues you have found earlier (filed as CELLSNET-45376) have been fixed in Aspose.Cells for .NET 17.6.

This message was posted using Notification2Forum from Downloads module by Aspose Notifier.