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:
0 - the length of movement in seconds
1 (default) - the length of movement in the multiple of the time axis length, 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.
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oTView = pMe.Items("../TrendView");
var nAutoSizeUnit = oTView.AutoscrollSizeUnit; //reading
oTView.AutoscrollSizeUnit = 1; //writing
Dim oTView, nAutoSizeUnit
Set oTView = pMe.Items("../TrendView")
nAutoSizeUnit = oTView.AutoscrollSizeUnit 'reading
oTView.AutoscrollSizeUnit = 1 'writing