highlight_text method

highlight_text(self, text, highlight_color)

Highlights all matches of the sample text with the specified color.

def highlight_text(self, text, highlight_color):
    ...
ParameterTypeDescription
textstrText sample to highlight.
highlight_coloraspose.slides.ColorThe color to highlight the text.

highlight_text(self, text, highlight_color, options)

Highlights all matches of the sample text with the specified color.

def highlight_text(self, text, highlight_color, options):
    ...
ParameterTypeDescription
textstrThe text to highlight.
highlight_coloraspose.slides.ColorThe color to highlight the text.
optionsITextHighlightingOptionsHighlighting options.

highlight_text(self, text, highlight_color, options, callback)

Highlights all matches of the sample text with the specified color.

def highlight_text(self, text, highlight_color, options, callback):
    ...
ParameterTypeDescription
textstrThe text to highlight.
highlight_coloraspose.slides.ColorThe color to highlight the text.
optionsITextSearchOptionsText search options ITextSearchOptions.
callbackIFindResultCallbackThe callback object for receiving search results IFindResultCallback.

See Also