Free Support Forum -

Convert Microsoft Excel Spreadsheet to PDF with Aspose.Cells REST API results incorrect Page size

We are using cloud cells to convert the attached xlsx file to pdf with these options:


The page size of A4 is not respected. See the attached resulting PDF which has a resulting page size of 8.10 x 10.52 instead of the expected 8.27 x 11.69.

JEVIC Sample Template (118.5 KB)
JEVIC Sample Template by doForms.pdf (116.4 KB)


Thanks for your query. It seems you are using some old SDK. I have tested the scenario with the latest SDK and unable to notice the issue, please find the sample PDF document. Please upgrade to latest SDK, it will resolve the issue. However, if the issue persist then please share your sample code here. We will further investigate the issue and guide you accordingly.
Cells_SaveAs.pdf (117.0 KB)

We are using the cloud service, so we don’t select the SDK. This is the cloud support forum, right?

Our code is just calling[filename].xlsx/saveAs?newfilename=[filename].pdf&isAutoFitRows=true&appSID=[appid]&signature=[signature]

With the PdfSaveOptions mentioned in the original post.


Thanks for your feedback. Yes, this is cloud support forum. I have tested the scenario with Aspsoe.Cells Cloud SDK for .NET. However, now testing with the SaveAs API using cURL and noticed the reported page size, so logged a ticket CELLSCLOUD-10238 for further investigation and rectification. We will notify you as soon as it is resolved.


Thanks for your patience. We have already fixed your above reported issue. Please try latest version of Aspose.Cells Cloud for PDF page size issue.