Free Support Forum - aspose.com

Excel to PDF Wrong Executive paper size in .NET

Hello,


The attached document is setup with Executive paper size, which should be 7.25 x 10.50. When converted to PDF, it changes to 7.50 x 10.50. Please advise. Attached are the original xlsx file, excel converted pdf, and Aspose converted pdf.

Thanks.

Hi,

Thanks for your posting and using Aspose.Cells.

We were able to observe this issue after converting your source excel file into pdf using the latest version: Aspose.Cells
for .NET v8.5.0.4
. The converted pdf has wrong executive paper size as you mentioned.

We have logged this issue in our database for investigation. We will look into it and fix this issue. Once the issue is fixed or we have some other update for you, we will let you know asap.

This issue has been logged as

  • CELLSNET-43780 - Wrong Executive paper size when converting to PDF

C#

string filePath = @“D:\Downloads\BBTestD_Aspose.xlsx”;


Workbook workbook = new Workbook(filePath);

workbook.Save(filePath + “.out.pdf”);

Hi,

Thanks for using Aspose.Cells.

We have fixed
this issue now. We will provide you a fix in couple of days after
incorporating other enhancements and fixes and conducting some extensive
testing. Once, it is available for you, we will let you know asap by
posting in this thread.

Hi,

Thanks for your using Aspose.Cells.

Please download and try the latest fix: Aspose.Cells for .NET v8.5.1.1 and let us know your feedback.

The issues you have found earlier (filed as CELLSNET-43780) have been fixed in this update.


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