SearchHighlightOptions
Contents
[
Hide
]
SearchHighlightOptions class
Provides options for searching and highlighting text in the documents, loaded to the Viewer class
public sealed class SearchHighlightOptions
Constructors
| Name | Description |
|---|---|
| SearchHighlightOptions() | The default constructor. |
Properties
| Name | Description |
|---|---|
| BackgroundColor { get; set; } | Gets or sets the background color for highlighting |
| ForegroundColor { get; set; } | Gets or sets the foreground (text) color for highlighting |
| IsSearchTermRegEx { get; set; } | Gets or sets a value 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. |
| SearchTerm { get; set; } | Gets or sets the text (or regex pattern, if IsSearchTermRegEx property is true) to search for. |
See Also
- namespace GroupDocs.Viewer.Options
- assembly GroupDocs.Viewer