ColorItem - property of the PmgPipe object
Color of the pipeline inside.
Property access for read and write
The preset value of this property is defined in the "Color
" configurator of this object.
The property returns or sets the RGB String
in the form "#RRGGBB"
This property is also functional in Web panels
var oPipe = pMe.Items("/Pipe");
var sColorItem = oPipe.ColorItem;
// Reading from the property
oPipe.ColorItem = "#0000ff";
// Writing into the property
Dim oPipe, sColorItem
Set oPipe = pMe.Items("/Pipe")
sColorItem = oPipe.ColorItem
' Reading from the property
oPipe.ColorItem = "#0000ff"
' Writing into the property