PdfVisualContentLocator.SearchText Method
Overloads
| Name | Description |
|---|---|
| SearchText(String) | Searches the page content for the specified text. |
| SearchText(String,PdfVisualSearchRange,PdfVisualTextSearchOptions,Boolean) | Searches the page content for the specified text. |
SearchText(String)
Searches the page content for the specified text.
Parameters
text String
Text to find in page content.
SearchText(String,PdfVisualSearchRange,PdfVisualTextSearchOptions,Boolean)
Searches the page content for the specified text.
C#
public PdfVisualTextSearchResultCollection SearchText(string text, PdfVisualSearchRange searchRange, PdfVisualTextSearchOptions searchOptions, bool incrementalHighlight)
Parameters
text String
Text to find in page content.
searchRange PdfVisualSearchRange
The range for searching text
searchOptions PdfVisualTextSearchOptions
A set of options that specify how the text search should be performed.
incrementalHighlight Boolean
True if the search results should be highlighted one by one in the PdfDocumentView control, false if all search results are highlighted together.