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





Copies the current selection of items to the clipboard.

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

 Syntax

C#  Copy Code

public bool CopyToClipboard (
    bool persist
)

Visual Basic  Copy Code

Public Function CopyToClipboard( _
    persist As Boolean _
) As Boolean

 Parameters

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

 Return Value

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

 Remarks

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.

This overloaded method simply calls the second one, setting false as the value of the groups argument.

 See Also

CopyToClipboard Method Overload List
DiagramView Members
DiagramView Class
MindFusion.Diagramming.WinForms Namespace
CutToClipboard Method
PasteFromClipboard Method