TextHighlighter.ToRichText (gb.eval.highlight)

Function ToRichText ( Text As String [ , Styles As TextHighlighterStyle[] ] ) As String

Highlight a text and return the result as colored rich text.

  • Text : The text to highlight.

  • Styles : An optional highlighting style as an array of texthighlighterstyle ?. If not specified, the default style is used.