When we use Aspose.Word to create a Pdf from a Word document, if the document format is Legal (21,59cm X 35,56cm), the resulting PDF is not the same size (21,59cm X 35,57cm).
It did cause problem in our solution because we do valid the size of the PDF to create lots of same size documents to be print.
Thanks for your inquiry. Please note Aspose.Words mimics MS Word behavior. We have rendered your shared DOCX to PDF using Aspose.Words and MS Word and unable to notice any difference in size. Furthermore, your shared PDF shows that you have created it using Aspose.Pdf for .NET.
In the example, the document was saved in a memory stream as PDF document using Aspose.Words.Document and Aspose.Words.Saving.PdfSaveOptions. After, the pdf from the memory stream was saved again using Aspose.Pdf.Document. I tried saving it directly to pdf using Aspose.Words.Document instead of saving in memory stream and the resulting pdf is also (21,59cm X 35,57cm).
I can’t download the files from your reply, the links doesn’t seem to work.
Please note I am getting 8.5 inch x 14 inch page size in Word and PDF documents. You may convert your Word document to PDF using MS Word and check the page size of resultant PDF document. It should be same as Aspose.Words generated PDF document. However, if the issue persists then please share some details to replicate the issue at our end.
The message if I try to open/download the files from your reply is : “Sorry, this file is private. Only visible to post creator and staff members.”
I am logged in as my user DevSGIPA. Currently, the only file I can open is the zip file from my own post.
We are sorry for the inconvenience. We are coordinating with the web team to sort out the attachment access issue. Meanwhile, please download the output files from this google drive link.