The result of conversion to PDF file is different

Hello
We are using Aspos.Cells 18.6.0.0.
I am converting an Excel file to a PDF file, but the results are different, so please contact us.

Here is the test code:
Workbook workbook = new Workbook(xlsFileName);
string pdfFileName = string.Format("{0}\{1}.pdf", System.IO.Path.GetDirectoryName(xlsFileName), System.IO.Path.GetFileNameWithoutExtension(xlsFileName));
workbook.Save(pdfFileName);

Please tell me how to do the same conversion.

Thank you.

AsposCells Convert Test Files.zip (144.3 KB)

@youni73,
We were able to observe the issue but we need to look into it more. We have logged the issue in our database for investigation and for a fix. Once, we will have some news for you, we will update you in this topic.

This issue has been logged as

CELLSNET-47585 - The result of conversion to PDF file is different

@youni73,

Please try our latest version/fix: Aspose.Cells for .NET v20.8.9 (attached)

Your issue should be fixed in it.

Let us know your feedback.
Aspose.Cells20.8.9 For .Net2_AuthenticodeSigned.Zip (5.4 MB)
Aspose.Cells20.8.9 For .Net4.0.Zip (5.4 MB)

The requested issue has been well resolved in the new version.
Thank you.

However, I found a new problem.
It still goes over the page in landscape orientation.

Please check.

Thank you.

Here is the test code:
Workbook workbook = new Workbook(xlsFileName);
string pdfFileName = string.Format("{0}{1}.pdf", System.IO.Path.GetDirectoryName(xlsFileName), System.IO.Path.GetFileNameWithoutExtension(xlsFileName));
workbook.Save(pdfFileName);

image.png (6.8 KB)

AsposCells Convert Test Files1.zip (310.0 KB)

@youni73,

We reproduced the issue as you mentioned. We found the result goes over the page in the landscape orientation in Excel to PDF conversion. We have logged a separate ticket with an id “CELLSNET-47636” for your issue. We will look into it soon.

Once we have an update on it, we will let you.

@youni73,
Please try our latest version/fix: Aspose.Cells for .NET v20.9.9:

Aspose.Cells20.9.9 For .Net4.0.Zip (5.4 MB)
Aspose.Cells20.9.9 For .NetStandard20.Zip (5.4 MB)
Aspose.Cells20.9.9 For .Net2_AuthenticodeSigned.Zip (5.4 MB)

Your issue should be fixed in it.

Let us know your feedback.

Hello.

I tried applying the new version.
The conversion is fine without any problem.

Thank you very much.

@youni73,

Good to know that your issue is sorted out by the new fix/version. Feel free to write us back if you have further questions or comments, we will be happy to assist you soon.

The issues you have found earlier (filed as CELLSNET-47636) have been fixed in Aspose.Cells for .NET v20.10. This message was posted using Bugs notification tool by Amjad_Sahi. You may also get the version @ Nuget repos. (NuGet Gallery | Aspose.Cells 20.10.0).