Free Support Forum - aspose.com

Converting .docx to .pdf produced an extra blank page

Hi,



When converting a .docx file to a .pdf file using Aspose.Words, I noticed an extra blank page is produced.



Code:

Document convertedDocument = new Document(@“test.docx”);

convertedDocument.Save(@“output.pdf”);



The output has 3 pages while the original Word document only has 2.



I’ve attached the test files for your reference.



Thanks,

Hi John,

Thanks for your inquiry.

While using the latest version of Aspose.Words i.e. 17.3.0, we managed to reproduce this issue on our end. We have logged this issue in our bug tracking system. The ID of this issue is WORDSNET-15053. Your thread has also been linked to the appropriate issue and you will be notified as soon as it is resolved. Sorry for the inconvenience.

Best regards,

The issues you have found earlier (filed as WORDSNET-15053) have been fixed in this Aspose.Words for .NET 18.5 update and this Aspose.Words for Java 18.5 update.