TX Text Control .NET Server

Javascript: TXTextControl.Color.g Property

Property|Introduced in 25.0

Description

The green component of the color.

Syntax

<number> TXTextControl.Color.g

Examples

The following example demonstrates TXTextControl.Color.g in a practical document-editing workflow. The green component of the color.

function inspectG(color) {
    const g = color.g;
    console.log("g:", g);
}