Copies the current selection of items to the clipboard.
Namespace: MindFusion.Diagramming.WinForms
Assembly: MindFusion.Diagramming.WinForms
C# Copy Code |
---|
public bool CopyToClipboard ( |
Visual Basic Copy Code |
---|
Public Function CopyToClipboard( _ |
true if items were successfully copied; otherwise, false.
Call this method when writing message handler for the Copy command from the Edit menu of your application. MindFusion.Diagramming does not provide keyboard interface for clipboard operations, so you might assign a CTRL+C shortcut to this command.
The first overloaded method simply calls this one, setting false as the value of the groups argument. When calling this method with groups set to true, only the first level of groups attached to selected items are copied. In that case, the subordinated items included in the groups are copied too.