Free Support Forum - groupdocs.com

DOCX to PDF conversion issue using Java API

When we try to convert to PDF the attached valid docx file (in the zip file), we get the following error:


Aug 13, 2015 5:08:23 AM com.groupdocs.conversion.converter.a.h
SEVERE: null
Aug 13, 2015 5:08:23 AM com.groupdocs.conversion.converter.a.h d
SEVERE: null

and the file is not converted

@drippel,

Using GroupDocs.Conversion for Java API version 20.2.1 you can convert a DOCX file to PDF in just few lines of code. Please have a look at the below code:

using (Converter converter = new Converter(@"D:/sample.docx"))
{
      PdfConvertOptionsoptions = new PdfConvertOptions();
      converter.Convert(@"D:/output.pdf", options);
}

The issues you have found earlier (filed as CONVERSIONJAVA-93) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by GroupDocs Notifier.