TX Text Control .NET Server

Javascript: CommentedTextInfo.highlightColor Property

Property|Introduced in 30.0

Description

Highlight color as a CSS color string.

Syntax

<String> CommentedTextInfo.highlightColor

Examples

The following example demonstrates CommentedTextInfo.highlightColor in a practical document-editing workflow. Highlight color as a CSS color string.

function inspectHighlightColor(commentedTextInfo) {
    const highlightColor = commentedTextInfo.highlightColor;
    console.log("highlight color:", highlightColor);
}