Free Support Forum - aspose.com

Convert of Excel to PDF - the content is displaced down and in the middle

Hello,

I have an issue if I convert Excel file to PDF with Aspose then the content will be in PDF displaced "down and middle", but in Excel it was on the "top left".

Please inform me when you can fix this issue.

Thanks in advance.

Best regards,

Sacha End.

Hi Sacha,


Thanks for your inquiry. Your query is related to Aspose.Cells component. I am moving this thread to Aspose.Cells forum and my colleagues from Aspose.Cells team will reply you shortly.

Hi,


I have tested your case and converted your template Excel file to PDF, it works fine with the latest version/fix. The contents are not displaced at all.

Please download and try this fix: Aspose.Cells for .NET v7.3.3.1 and let us know your feedback.

Sample code:

Workbook wb = new Workbook(@“e:\test2\Test-Excel.xls”);
wb.Save(“e:\test2\Test-Excel.pdf”);

The output PDF file is attached here for your reference.

Thank you.