Highlight Method (DomElement)

Class

DomElement.

Action

Highlights a DOM element.

Syntax

C#
element.Highlight(foregroundColor, backgroundColor)
VB
element.Highlight(foregroundColor, backgroundColor)
Variable Description
foregroundColor Foreground color for highlighted DOM element. You can use any valid HTML color, for example red or #ff0000. String.
backgroundColor Background color for highlighted DOM element. You can use any valid HTML color, for example red or #ff0000. String.