ColorItem - property of the PmgShape object
Color of the polygon filling.
Property access for read and write
. The preset value of this property is defined in the "Brush color
" configurator of this object.
The property returns/sets the RGB String
in the form "#RRGGBB"
This property is also functional in Web panels
var oShape = pMe.Items("/Shape");
var sColorItem = oShape.ColorItem; //reading
oShape.ColorItem = "#0000ff"; //writing