Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Overwrites an existing image with the content of the system clipboard.
Syntax
public int clipboardPaste()
Run On
Client
Return Value
Type: int
0 indicates success; otherwise, failure.
Remarks
For the method to be used successfully, the clipboard must have content.
Examples
The following example creates a new image file by using contents previously copied to the clipboard.
Image img = new Image();
// Copy an image to the clipboard before this test
img.clipboardPaste();
img.saveFile(@'C:\test.jpg');