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: