SearchHighlightOptions class
Leave feedback
On this page
Provides options for searching and highlighting text in documents loaded into the Viewer class.
The SearchHighlightOptions type exposes the following members:
| Constructor | Description |
|---|---|
| init |
| Property | Description |
|---|---|
| background_color | The background color for highlighting. |
| foreground_color | The foreground (text) color for highlighting. |
| is_search_term_reg_ex | The property indicating whether the search term should be treated as a regular expression or as a text literal. Default is False — treat as a text literal. |
| search_term | The text (or regex pattern, if SearchHighlightOptions.is_search_term_reg_ex property is True) to search for. |
- module
groupdocs.viewer.options
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.