Promotic

AutoscrollSizeUnit - property of the PmgTrendViewer object

Description:
Specifies in which units the values of the AutoscrollSize property are defined (the multiple of the page size, the time in seconds, the shortest period, ...)
Syntax:
Long AutoscrollSizeUnit
Values:
In the AutoscrollSize property is:
0 - the length of movement in seconds
1 (default) - the length of movement in the multiple of the time axis, 1.0 means the length of the whole page.
Note:
Property access for read and write. The preset value of this property is defined in the "Autoscroll mode" configurator of this object.
 
This property is also functional in Web panels.
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oTView = pMe.Items("../TrendView");
var nAutoSizeUnit = oTView.AutoscrollSizeUnit;   // Reading from the property

oTView.AutoscrollSizeUnit = 1;   // Writing into the property
PROMOTIC 9.0.21 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.