Conversion of 3 page docx results in 4 page PDF

Hi,
I am using aspose-words jar to convert DOCX to PDF. The input document has 3 pages, where as the resultant PDF document has 4 pages. Can someone please help me on this?

I have uploaded both input and output documents. 2004_Application_Form.docx (3.2 MB)
ImagetoPDF.pdf (185.7 KB)

Code :

Document doc = new Document(is);
DocumentBuilder builder = new DocumentBuilder(doc);
doc.save("C:/temp/ImagetoPDF.pdf", SaveFormat.PDF);

@sushma1509 You are using Aspose.Words in evaluation mode and document’s content is shifted by the evaluation text. You can request a free 30-days temporary license to test Aspose.Words without evaluation version limitations.
Here is PDF document produced by Aspose.Words without evaluation version limitations: out.pdf (172.2 KB)

Thanks. that helps.

1 Like