Promotic
WikipediaLinkedInYoutubeTwitterFacebook

BackgroundColor - property of the PmgTrendViewer object

Description:
Background color of the viewer.
Syntax:
String BackgroundColor
Note:
Property access for read and write. The preset value of this property is defined in the "Background color" configurator of this object.
 
The property is used only if the graphic mode is set.
The property returns/sets the RGB String in the form "#RRGGBB".
Example:
color setting by RGB String in the form "#RRGGBB"
JavaScriptVBScriptSelect and copy to clipboard

var oTView = pMe.Items("../TrendView");
var sBgColor = oTView.BackgroundColor;  //reading

oTView.BackgroundColor = "#00ff00";  //writing
PROMOTIC 9.0.16 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice