Free Support Forum -

Get Text coordinates from search using .NET


I’m newbie with GroupDocs.Parse library. I’d like to generate a dynamic table template to read order line items. The table start position is not fixed and neither it is its length. What I know is the row height and width and the number of columns and the width of each individual column. I’ve thought could start by searching the first column header text using Parser.Search function. The issue is that I cannot get the coordinate (x, y) from the SearchResult, it only supplies a Position property. Is there any way to get the coordinates relative to the page from a SearchResult?



1 Like


We are investigating your use-case/scenario at our end. Your investigation ticket ID is PARSERNET-1449. As there’s any update, you’ll be notified.

FYI, I’m working with PDF files.

1 Like




You can use ParseByTemplate and GetTextAreas methods:

  1. Search the text area that represents the first cell of the table
  2. Then parse the table by template

Have a look at this sample (1.3 KB). It works for this sample PDF.pdf (133.6 KB).