We’re finding Excel documents with worksheets that when viewed in Microsoft Excel the Page Layout -> Size is set as A4. However when loading these documents using Aspose Cells the…
workbook.Worksheets[i].PageSetup.PaperSize
…is PaperLetter, when it should be PaperA4. When saved to PDF using Aspose Cells…
workbook.Save(tmpPDFStream, Aspose.Cells.SaveFormat.Pdf)
…the resulting PDF page sizes are Letter and not A4. When saving using Microsoft Excel the page sizes in the PDF generated are A4… not Letter consequently they look different.