copyIm  
Top  Previous  Next

copyIm ( integer Image )

Use this function to copy an image or selection to the Windows Clipboard. Equivalent to selecting Copy from the Edit menu. The function can be used for transferring images between ImageWarp and an external application. See
Dynamic Data Exchange for more details.

Parameters
 
Image  
 
An integer between 1 and 116 specifying the frame number of the image to copy. Values in the range of 100-116 correspond to hidden frames.  

Error flags

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

This set of statements captures an image, copies it to the Clipboard  
 
grabIm (1)  
copyIm (1)  
 
Remark

Only images with a standard pixel depth can be copied to the Clipboard. If an image is of a high bit depth, it will be converted to a closest standard type before being copied.