Get Started
Usage API
More information

SetHighlight

SetHighlight(r, g, b, [isNone]) → { ApiTextPr }

Specify a highlighting color in the RGB format which is applied as a background for the contents of the current run.

Parameters:

Name Type Default Description
r byte

Red color component value.

g byte

Green color component value.

b byte

Blue color component value.

isNone boolean false

If this parameter is set to "true", then r,g,b parameters will be ignored.

Returns:

Type
ApiTextPr