We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Convert PDF to Doc Failed

Hi,

I am trying to convert PDF file to Doc or DOCX but failed at time of save. I am using below code snippet

// Open the source PDF document
Aspose.Pdf.Document pdfDocument = new Aspose.Pdf.Document(inFilePath);

// Instantiate DocSaveOptions object
Aspose.Pdf.DocSaveOptions saveOptions = new Aspose.Pdf.DocSaveOptions();

// Specify the output format as DOC
saveOptions.Format = Aspose.Pdf.DocSaveOptions.DocFormat.Doc;

pdfDocument.Save(outPath, saveOptions);

Please use below link to download sample file.

Looking forward to hear.

Thanks

@naeem.akram

We observed System.StackOverFlowException while performing the conversion using Aspose.PDF for .NET 19.11. The issue has been logged as PDFNET-47355 in our issue tracking system for the sake of correction. We will surely look into details of the issue and provide update in this forum thread as soon as the issue is resolved.

We are sorry for the inconvenience.

The issues you have found earlier (filed as PDFNET-47355) have been fixed in Aspose.PDF for .NET 20.1.