Image.clipboardCopy Method

Copies an image to the clipboard.

Syntax

public int clipboardCopy()

Run On

Client

Return Value

Type: int
0 indicates success; otherwise, failure.

Examples

The following example copies the content from a file that is named Test.bmp.

Image img = new Image(); 
 
img.loadFile(@'C:\Test.bmp'); 
img.clipboardCopy(); 
// Image can now be pasted into an application.

See Also

Image Class

Image.copyImage Method