I'm trying to read a PDF with Aspose.Pdf (9.4.0) using the method Absorber.
The problem is that the pages / files have different amount of columns!
How is it possible to discover the amount of columns to be able to mount the coordinates of the rectangle to the method absorber?
Following image and 2 PDFs with 2:04 columns.
In the code snippet that I am using I need to know the number of columns to properly define the areas of the rectangle to extract the absorber.
iPosColInit = 10;
iPosColEnd=155
textAbsorber = new TextAbsorber();
textAbsorber.TextSearchOptions.LimitToPageBounds = true;
textAbsorber.TextSearchOptions.Rectangle = new Aspose.Pdf.Rectangle(0,iPosColInit , iPosColEnd, 700);
pdfDocument.Pages[1].Accept(textAbsorber);
linha = textAbsorber.Text;
Att,