highlight_text method

highlight_text

Highlight all matches of sample in text frame text using specified color.

def highlight_text(self, text, highlight_color):
    ...
ParameterTypeDescription
textstrText sample to highlight.
highlight_coloraspose.pydrawing.ColorHighlighting color.

highlight_text

Highlight all matches of sample in text frame text using specified color.

def highlight_text(self, text, highlight_color, options):
    ...
ParameterTypeDescription
textstrText sample to highlight.
highlight_coloraspose.pydrawing.ColorHighlighting color.
optionsITextHighlightingOptionsHighlighting options.

See Also