Search
Clipboard Operations

In ImageMap mode, the InteractivityExtender class implements a clipboard that allows copying and pasting diagram elements. To enable this, set the EnableClipboard property to true. A single diagram item or a selection of items can be copied, cut or pasted using the CTRL+C, CTRL+X and CTRL+V shortcuts. The item copies are saved as a part of the control's view state, and can be pasted even after a postback. Items cannot be pasted into to a different DiagramView instance than the one they have been copied from.

In JavaAplet mode it is possible to copy and paste items using the copyToClipboard and pasteFromClipboard methods. There are no built-in shortcuts provided, so you must call the methods from some event handlers. Additionally, in that mode the clipboard content is not automatically preserved between postbacks.