HighlightRegex()

ITextFrame::HighlightRegex(System::String, System::Drawing::Color, System::SharedPtr<ITextHighlightingOptions>) method

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

virtual void Aspose::Slides::ITextFrame::HighlightRegex(System::String regex, System::Drawing::Color highlightColor, System::SharedPtr<ITextHighlightingOptions> options)=0

Arguments

ParameterTypeDescription
regexSystem::StringText of regular expression to get text to highlight.
highlightColorSystem::Drawing::ColorHighlighting color.
optionsSystem::SharedPtr<ITextHighlightingOptions>Highlighting options.

See Also