Pastes diagram items from the clipboard.
Namespace: MindFusion.Diagramming
Package: Diagram.js
JavaScript Copy Code |
---|
function pasteFromClipboard (offsetX, offsetY, [systemClipboard]) |
Horizontal offset of pasted items from their original positions.
Vertical offset of pasted items from their original positions.
true to paste from the system clipboard, or false otherwise. The default value is false.
The diagram control maintains its own local clipboard and items are copied to it by default. If you specify a true argument and running under browsers that allow access to the system clipboard, the items are copied to the system clipboard; in all other cases they are copied to the local clipboard. At the time of writing this, access to the system clipboard is supported only by Internet Explorer.