Hi Aspose,
I have a PDF file and I want to convert it to DOCX, and Aspose.PDF throw an exception said “Object reference not set to an instance of an object.”
I use the sample code like this:
Document pdfDocument = new Document(_dataDir + "testfile.pdf");
pdfDocument.Save(_dataDir + "testfile.doc", SaveFormat.DocX);
This is a 2-page file extract from our test file test file.pdf (155.0 KB)
Thanks.