getWorkWidth
Top  Previous  Next

val = getWorkWidth ( )

Use this function to retrieve the horizontal size of ImageWarp's workspace.

Parameters
 
None  
 
Return value
 
The width of the workspace in screen pixels.  
 
Error flags

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

This set of statements retrieves the width and height of ImageWarp's workspace and prints the information in the terminal window:  
 
x=getWorkWidth ( )  
y=getWorkHeight ()  
Print "Workspace width=", x  
Print "Workspace height=", y