highlight_regex method

highlight_regex

def highlight_regex(self, regex, highlight_color):
    ...
ParameterTypeDescription
regexstr
highlight_coloraspose.pydrawing.Color

highlight_regex

Highlights all matches of the regular expression with the specified color.

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

See Also