I have a 3 page pdf file.
Aspose.Pdf.Document doc = new Aspose.Pdf.Document("file.pdf");
doc.save("file.doc", Aspose.Pdf.SaveFormat.Doc);
Aspose.Words.Document docw = new Aspose.Words.Document("file.doc");
This throws an exception “The document appears to be corrupted and cannot be loaded”. The inner exception is “Stream Length must be non-negative and less than 2^31 - 1 - origin.Parameter name: value”. Note that the doc file opens with no errors in Microsoft Word.
Thanks,