Canvas.Scroll Method

DeltaX and DeltaY are the number of pixels to scroll horizontally and vertically relative to the current position of the picture in the Canvas control. Positive values scroll right and down while negative values scroll left and up.

Syntax
Canvas.Scroll DeltaX, DeltaY, [Left], [Top], [Width], [Height], [ScrollControls]

Parameters
DeltaX | Integer
DeltaY | Integer
Left | Integer (Optional)
Top | Integer (Optional)
Width | Integer (Optional)
Height | Integer (Optional)
ScrollControls | Boolean (Optional)

# Notes

The Left, Top, Width, and Height parameters specify the portion of the picture to be scrolled. If these are not passed, the entire picture will be scrolled. ScrollControls indicates whether controls positioned on top of the Canvas control should be scrolled as well. ScrollControls is True by default.