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);