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

Free Support Forum - aspose.com

Excel to pdf generation error

Kindly check the attached original Excel file and the generated pdf file.aspose.zip (257.9 KB)

we are using aspose.total for .NET (C#)

@mhdbaz,

I have checked the 0320012632019161901.xlsx by opening it in print preview in Excel 365 and observed that it has one page only in the print preview. Later this XLSX file is saved as PDF using Excel 365 and it is observed that output PDF file is similar to the one created by Aspose.Cells. Could you please explain the issue in detail along with the image for our analysis? We will look into it in detail once feedback is provided by you.

Hello.
Thank you. I did not check the Excel print preview I will tell the customer to fix the Excel. You can close this issue and mark it as done

@mhdbaz,

Yes, you should set Page Setup options either via MS Excel or sample code (by Aspose.Cells APIs) to fix the issue. e.g set Page Setup|Page --> Scaling options accordingly.

Hope, this helps a bit.