highlight_regex method
highlight_regex
Highlights all matches of the regular expression with the specified color.
def highlight_regex(self, regex, highlight_color):
...
| Parameter | Type | Description |
|---|---|---|
| regex | str | The string contains regular expression to get strings to highlight. |
| highlight_color | aspose.pydrawing.Color | The color to highlight the text. |
highlight_regex
Highlights all matches of the regular expression with the specified color.
def highlight_regex(self, regex, highlight_color, options):
...
| Parameter | Type | Description |
|---|---|---|
| regex | str | Text of regular expression to get text to highlight. |
| highlight_color | aspose.pydrawing.Color | The color to highlight the text. |
| options | ITextHighlightingOptions | Highlighting options. |
See Also
- class
ITextFrame - class
ITextHighlightingOptions - module
aspose.slides - library
Aspose.Slides