Promotic
WikipediaLinkedInYoutubeTwitterFacebook

AutoscrollSize - property of the PmgTrendViewer object

Description:
The property specifies, how much to scroll (move the time axis).
Syntax:
Double AutoscrollSize
Note:
Property access for read and write. The preset value of this property is defined in the "Autoscroll size" configurator of this object.
 
The meaning is according to the AutoscrollSizeUnit property (the multiple of the page size, the time in seconds, the shortest period, ...).
The time of scrolling or if to scroll at all, is given by setting the AutoscrollType property.
It is scrolled only if the Autoscroll property is set to true.
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oTView = pMe.Items("../TrendView");
var nAutoSize = oTView.AutoscrollSize;  //reading

oTView.AutoscrollSize = 0.2;  //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