Mixture of page 1 and page 2

Hi,

When saving an excel document as a pdf page 1 and page 2 are mixtured.
Our aspose version is 18.4.5.

Thanks.
docs.zip (366.4 KB)

@srmbimser

Thanks for using Aspose APIs.

We were able to observe this issue and logged it in our database for investigation and for a fix. Once, the issue is resolved or we have some other news for you, we will let you know in this topic asap.

This issue has been logged as

  • CELLSNET-46125 - Mixture of page 1 and page 2 in the output Pdf

C#

LoadOptions opts = new LoadOptions(LoadFormat.Excel97To2003);
opts.SetPaperSize(PaperSizeType.PaperA4);

Workbook wb = new Workbook("3568_4.xls", opts);
wb.Save("output.pdf");

Thanks for reply,

We can not use the code you sent. Because our customers are able to give different sizes to the documents.

@srmbimser

Thanks for your posting and using Aspose APIs.

Regardless of the code, we were able to replicate the issue and we will work on it to fix it. Thank you and have a good day.

@srmbimser

Thanks for using Aspose APIs.

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

@srmbimser

Please download and try the following fix and let us know your feedback.

The issues you have found earlier (filed as CELLSNET-46125) have been fixed in Aspose.Cells for .NET 18.6. Please also check the document/article for your reference: Install Aspose Cells through NuGet|Documentation