I have a PDF file,it throw a IndexOutOfRangeException when i convert it to docx using Aspose.PDF for Net 22.9.
The sample code:
void Main()
{
var doc = new Aspose.Pdf.Document(@"C:\Users\54390\Desktop\demo.pdf");
doc.Save(@"C:\Users\54390\Desktop\result.docx",SaveFormat.DocX);
}
The demo file:
demo.pdf (1.4 MB)
The exception info:
20221016200004.png (74.3 KB)