setImZoom
|
|
Image
|
|
An integer between 1 and 99 specifying the number of the frame.
|
|
Zoom
|
|
A floating value specifying the zoom factor of the image
|
|
ERR_OK
|
|
The flag set if successful.
|
|
ERR_FAILED
|
|
The flag set if failed.
|
|
This set of statements gradually increases the image zoom
|
|
grabIm(1)
|
setImPos(1,0,0,getImWidth(1)*4,getImHeight(1)*4)
|
z=1.
|
While z<4
|
z=z*1.1
|
wait(250)
|
setImZoom(1,z)
|
Wend
|
|
Note that this function does not change the content of the image, but only its appearance in the image frame. To change the actual size of the image, use the resize function.
|
|