Image.clipboardCopy Method [AX 2012]

Copies an image to the clipboard.

public int clipboardCopy()

Run On

Client

Return Value

Type: int
0 indicates success; otherwise, failure.

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.

Community Additions

ADD
Show: