NumberToSolidColor

function NumberToSolidColor(value: number): TcHmi.SolidColor

Converts numerical (32 bit) coded color codes (Alpha, R, G, B) into TwinCAT HMI SolidColor objects. Can be used to bind PLC HMI-related color variables of type DWORD.

Parameter

Name

Type

Description

value

number

The value to convert

Return value

Type

Description

TcHmi.SolidColor

The converted value

NumberToSolidColor 1:

Available from version 1.12