I am reading a PDF page by page but on page 69 of the PDF attachment that generates an error message "Index was outside the bounds of the array" occurs.
This does not make sense that an error occurs only on page 69 and not in others, because the coordinates of the rectangle are the same as always.
Below is a snippet of code reading:
for (int page = PaginaInicial; page <= PaginaFinal; page++)
{
TextAbsorber textAbsorber = new TextAbsorber();
textAbsorber.TextSearchOptions.LimitToPageBounds = true;
textAbsorber.TextSearchOptions.Rectangle = new Aspose.Pdf.Rectangle(0, 0, 300, 500);
pdfDocument.Pages[page].Accept(textAbsorber); //<=== ERROR IN PAGE nr. 69
pg += textAbsorber.Text;
}