Search
Diagram.CopySelection Method (Boolean, Boolean)
See Also
 





Creates a copy of the currently selected objects and groups.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public SelectionCopy CopySelection (
    bool unconnectedLinks,
    bool copyGroups
)

Visual Basic  Copy Code

Public Function CopySelection( _
    unconnectedLinks As Boolean, _
    copyGroups As Boolean _
) As SelectionCopy

 Parameters

unconnectedLinks
true to allow copying unconnected links, or false otherwise.
copyGroups
true to copy group information, or false otherwise.

 Return Value

An instance of the SelectionCopy class.

 Remarks

Call PasteSelection to add the copied objects to a target diagram.

 See Also