To Search a keyword in PDF documents Search(String) method is used. This method returns the collection of SearchResult objects. For details, see Search Text.
Here are the steps to Search a keyword in PDF document:
Instantiate Parser object for the initial document; Call Search(String) method and obtain the collection of SearchResult objects; Iterate through the collection and get the position and Text. Warning Search(String) method returns null value if Search isn’t supported for the document....Search Product Solution GroupDocs...documents / Search text in PDF documents Search text in PDF documents...