setImScroll
|
|
Image
|
|
An integer between 1 and 99 specifying the number of the frame.
|
|
X, Y
|
|
Positive integers specifying the pixel coordinates of the top left origin of the viewable area of the image
|
|
ERR_OK
|
|
The flag set if successful.
|
|
ERR_FAILED
|
|
The flag set if failed.
|
|
This set of statements continuously pans the image in its frame:
|
|
grabIm(1)
|
setImZoom(1,2)
|
For x=0 to 300
|
setImScroll(1,x,0)
|
Next
|
For y=0 to 200
|
setImScroll(1,x,y)
|
Next
|
For z=200 to 0
|
setImScroll(1,z,z)
|
Next
|
|
If the specified coordinates exceed the allowable values for the view origin they will be automatically readjusted to the maximum allowable values.
|