HighlightRegex

ITextFrame.HighlightRegex method

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

public void HighlightRegex(string regex, Color highlightColor, ITextHighlightingOptions options)
ParameterTypeDescription
regexStringText of regular expression to get text to highlight.
highlightColorColorHighlighting color.
optionsITextHighlightingOptionsHighlighting options.

See Also