highlightText
highlightText(String text, Color highlightColor) method
Highlight all matches of sample in text frame text using specified color.
Parameters
| Name | Type | Description |
|---|---|---|
| text | String | Text sample to highlight. |
| highlightColor | Color | Highlighting color. |
Returns
void
highlightText(String text, Color highlightColor, TextHighlightingOptions options) method
Highlight all matches of sample in text frame text using specified color.
Parameters
| Name | Type | Description |
|---|---|---|
| text | String | Text sample to highlight. |
| highlightColor | Color | Highlighting color. |
| options | TextHighlightingOptions | Highlighting options. |
Returns
void