|
Query |
Detail |
|
I can then read the searchResults[0][0].Bounds.Height value... but... this has two huge challenges - I can't find a version that searches on a single page, so with multi-hundred page documents, false matches are very likely. |
We can search for a particular page using PdfLoadedDocument FindText(List<string> searchItems, int pageIndex, out List<MatchedItem> searchResults) method. We also created a sample for this, and it can be downloaded from the below link: https://www.syncfusion.com/downloads/support/forum/160544/ze/PdfConsole-1403719267
|
|
Additionally, I'm not able to successfully search for multi-line text (some PdfLoadedTextMarkupAnnotation highlights are multiple lines of text from the source PDF) - and I wonder if I were able to figure out how to search multiline text, would the value be increased for each line of text? |
Sorry for the inconvenience.
On analyzing further, we do not have support for “Searching for multiline Text”. We have logged a feature request for this request. At present, we do not have any immediate plans for this. At the planning stage for every release cycle, we review all open features and identify features for implementation based on specific parameters including product vision, technological feasibility, and customer interest. We will let you know when this feature is implemented.
You can track the status of this feature request here: https://www.syncfusion.com/feedback/12599/find-the-bounds-of-multiline-text
|