CitectColourToPackedRGB
- Last UpdatedJul 18, 2023
- 1 minute read
Converts a Plant SCADA color value into a packed RGB color value that can be understood by an ActiveX object.
Syntax
CitectColourToPackedRGB(nCitectColor)
nCitectColor:
The Plant SCADA color value to be converted into a packed RGB color. Plant SCADA colors are defined in the labels database, or calculated by the function MakeColour.
Return Value
The packed RGB color value - if successful, otherwise an error code is returned.