Copy an ImageX Object to the Clipboard
The following example illustrates how to copy an image to the clipboard:
| C# Example | Copy Code |
|---|---|
// This code demonstrates how to assign an image object to a viewer ImageXView1.Image = sourceImageX; // copy the image to the clipboard ImageXView1.CopyToClipboard(); // the clipboard now contains a copy of the sourceImageX object. |
|
Paste an Object from the Clipboard to an ImageX Object
The following example illustrates how to paste an object from the clipboard to an ImageX object:
| C# Example | Copy Code |
|---|---|
// This code demonstrates how to assign an image object to a viewer ImageXView1.Image = targetImageX; // paste the image from the clipboard ImageXView1.PasteFromClipboard(); // the targetImageX object now has the image from the clipboard. |
|