highlight_regex method

highlight_regex

Highlight all matches of regular expression in text frame text using specified color.

def highlight_regex(self, regex, highlight_color, options):
    ...
ParameterTypeDescription
regexstrText of regular expression to get text to highlight.
highlight_coloraspose.pydrawing.ColorHighlighting color.
optionsITextHighlightingOptionsHighlighting options.

See Also