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

Free Support Forum - aspose.com

Convert Excel to Pdf page error

Hi,
When the enclosed document is converted to PDF, the page structure is corrupted on the last page.
I attached the original file and corrupted file. We are using Aspose.Cell 19.4 version. Thanks.
YG8335.zip (232.0 KB)

@srmbimser,
Could you please try below code snippet and then let us know your feedback.

    Workbook workbook = new Workbook("KKP-TÿKK-093-T10-T20-M10_2.xls");
    PdfSaveOptions options = new PdfSaveOptions();
    options.OnePagePerSheet = true;
    workbook.Save("KKP-TÿKK-093-T10-T20-M10_2.pdf", options);

@srmbimser,

I guess the workaround proposed by Ahsan Iqbal might not suit your needs as it will render everything in single page. We did reproduce the issue as you mentioned by simply converting your template file to PDF file format. The issue can be seen on the last page where contents are not rendered correctly.

I have logged a ticket with an id “CELLSNET-46720” for your issue. We will look into it to figure it out soon. It is possible that we will share the fix which may fix your issue.

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

@srmbimser,

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

Your issue (logged earlier as “CELLSNET-46720”) should be fixed in it.

Let us know your feedback.
Aspose.Cells19.4.5 For .Net2_AuthenticodeSigned.Zip (4.9 MB)
Aspose.Cells19.4.5 For .Net4.0.Zip (4.9 MB)

The issues you have found earlier (filed as CELLSNET-46720) have been fixed in Aspose.Cells for .NET v19.5. This message was posted using BugNotificationTool from Downloads module by Amjad_Sahi