copySelection method

void copySelection()

This command copies the currently selected parts, Diagram#selection, from the Diagram into the clipboard. This is normally invoked by the Ctrl-C keyboard shortcut.

This makes a copy of the current selection by calling #copyToClipboard. This also raises the "ClipboardChanged" diagram event.

This method may be overridden, but you should consider calling this base method in order to get all of its functionality. Please read the Introduction page on Extensions for how to override methods and how to call this base method. @expose @see #canCopySelection

Implementation

void copySelection() {
  _i4.callMethod(
    this,
    'copySelection',
    [],
  );
}