MindFusion WinForms Programmer's Guide
DiagramView.CutToClipboard Method (Boolean)
See Also
 





Cuts the currently selected items to the Windows clipboard.

Namespace: MindFusion.Diagramming.WinForms
Assembly: MindFusion.Diagramming.WinForms

 Syntax

C#  Copy Code

public bool CutToClipboard (
    bool copy
)

Visual Basic  Copy Code

Public Function CutToClipboard( _
    copy As Boolean _
) As Boolean

 Parameters

copy
true if you want data to remain on the clipboard after this application exits; otherwise, false.

 Return Value

true if items are successfully copied to clipboard; otherwise, false.

 Remarks

Call this method when writing message handler for the Cut command from the Edit menu of your application. MindFusion.Diagramming does not provide keyboard interface for clipboard operations, so you might assign a CTRL+X shortcut to this command.

The method deletes all selected items after copying them to clipboard. That operation can be undone in the sense that deleted items are restored by calling UndoManager.Undo; however the clipboard data is not restored and the items remain in the clipboard available for further pasting.

 See Also

DiagramView Members
DiagramView Class
MindFusion.Diagramming.WinForms Namespace
CopyToClipboard
PasteFromClipboard