TextHighlighter.ToHTML (gb.eval.highlight)

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

Highlight a text and return the result as colored HTML.

  • Text : The text to highlight.

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