ColorItem - property of the PmgRasterImage object
Description:
Light color.
Note:
Property access
for read and write.
The default value of this property is defined in the "
Light color" configurator of this object.
The property returns or sets the
RGB String in the form
"#RRGGBB".
This property is functional only if the "
Enable light" configurator is checked.
This property is also functional in
Web panels.
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oImg = pMe.Items("/RImg0");
var sColorItem = oImg.ColorItem;
// Reading from the property
oImg.ColorItem = "#ff0000";
// Writing into the property
Dim oImg
Set oImg = pMe.Items("/RImg0")
Dim sColorItem
sColorItem = oImg.ColorItem
' Reading from the property
oImg.ColorItem = "#ff0000"
' Writing into the property