Free Support Forum - aspose.com

.odt files to PDF Conversion for ASPOSE java

Hi Good day,

Could we provide some working code for converting .odt files to PDF Conversion using Aspose Java.

Kind Regards,
Prasad Dasari…

Hi Prasad,


Thanks for your interest in Aspose.Words for Java. The code is pretty simple:

Document doc = new Document(getMyDir() + “in.odt”);
doc.save(getMyDir() + “out.pdf”);

Best regards,