TextHighlighter.ToRichText (gb.eval.highlight)

Function ToRichText ( Text As String [ , Theme As Variant ] ) 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.