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

Free Support Forum - aspose.com

Convert PDF to Word throw a IndexOutOfRangeException

I have a PDF document,I want to convert it to Word with Aspose.PDF, But throw a IndexOutOfRangeException.Please tell me how to do,thank you !
the version is Aspose.PDF for .Net 22.3.0.

the sample code :
var pdfDocument = new Aspose.Pdf.Document(@“D:\abc\1128\六年级数学期中试卷(学生版).pdf”);
pdfDocument.Save(@“D:\abc\1128\六年级数学期中试卷(学生版).docx”, SaveFormat.DocX);

the file:
六年级数学期中试卷(学生版).pdf (1.6 MB)

the stack trace:
image.png (101.8 KB)


We have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as PDFNET-51558. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.