Aspose - Index was outside the bounds of the array

1.5k views Asked by At

I can see below "Index was outside the bounds of the array" issues while accept pdf file by aspose tool. Please help me resolve this issue.

An exception of type 'System.IndexOutOfRangeException' occurred in Aspose.Pdf.dll but was not handled in user code Additional information: Index was outside the bounds of the array.

Code:

Document pdfDocument = new Document(filePath);
TextAbsorber textAbsorber = new TextAbsorber();
pdfDocument.Pages.Accept(textAbsorber);

Screen shot:

enter image description here

0

There are 0 answers