setVideoZoom
Top  Previous  Next

setVideoZoom ( float Zoom )

Use this function to set the zoom factor of the Video window.

Parameters
 
 
Zoom  
 
A floating value specifying the zoom factor of the Video window.  
 
Error flags

ERR_OK  
 
The flag set if successful.  
 
ERR_FAILED  
 
The flag set if failed.  
 
Example

This set of statements gradually increases the zoom factor of the Video window.  
 
grabIm(100)  
setVideoPos(1,0,0,getImWidth(100)*4,getImHeight(100)*4)  
showVideo(TRUE)  
z=1.  
While z<4  
 z=z*1.1  
 wait(250)  
 setVideoZoom(z)  
Wend