%%PageItemTitle%%

VectorDraw Web Library

JsPropertiesExtractor Send comments on this topic.
scroll Method
See Also 
vdWebLibrary Namespace > vdrawObj Class : scroll Method
from
An array of numbers with x , y values of the scroll startpoint in pixels relative to upper-left corner of web control.
toX
The x value of the scroll endpoint in pixels relative to upper-left corner of web control.
toY
The y value of the scroll endpoint in pixels relative to upper-left corner of web control.
postRedrawTimeout
Defines how much time will the component wait before redrawing the entities.Set it to 0 in order to redraw the view immediately.Set it to -1 for no screen refresh.
Moves the user's view on the x and y axis according to the given values.

Syntax

JScript 
public function scroll( 
   from : Object,
   toX : int,
   toY : int,
   postRedrawTimeout : int
);

Parameters

from
An array of numbers with x , y values of the scroll startpoint in pixels relative to upper-left corner of web control.
toX
The x value of the scroll endpoint in pixels relative to upper-left corner of web control.
toY
The y value of the scroll endpoint in pixels relative to upper-left corner of web control.
postRedrawTimeout
Defines how much time will the component wait before redrawing the entities.Set it to 0 in order to redraw the view immediately.Set it to -1 for no screen refresh.

See Also