Copies the current selection of items to the clipboard.
Namespace: MindFusion.Diagramming
Package: Diagram.js
JavaScript Copy Code |
---|
function copyToClipboard ([systemClipboard]) |
true to copy to 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.