NumberToSolidColor
function NumberToSolidColor(value: number): TcHmi.SolidColorConverts 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 | The value to convert |
Return value
Type | Description |
|---|---|
The converted value |
![]() | Available from version 1.12 |
