How to Convert a large number of PDF file to DOC



string inputpath="";
string outfilepath=""


Document pdfDocument = new Document();//Create Aspose.pdf.Document
for (int i = 0; i < icount_pdf ;i++)//icount_pdf The number of PDF files
{
inputpath= listView1.Items[i].Text;// get PDF file path
pdfDocument = new Document(inputpath);


pdfDocument.Save(outfilepath, SaveFormat.Doc);
}
Is there a problem ??

Hi Huang,


Thanks for contacting support.

There is no limitation while converting PDF files to DOC format. However when converting more than one document, its better to instantiate Document object within loop iteration and try the conversion within the loop. Once the conversion is performed, you may consider calling Dispose() method of Document class.

In case you encounter any issue during conversion, please share the resource files causing the problem so that we can test the scenario at our end.