MindFusion WinForms Programmer's Guide
DiagramView.PasteFromClipboard Method (Single, Single, Boolean)
See Also
 





Pastes diagram items from the Windows clipboard.

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

 Syntax

C#  Copy Code

public bool PasteFromClipboard (
    float dx,
    float dy,
    bool unconnectedLinks
)

Visual Basic  Copy Code

Public Function PasteFromClipboard( _
    dx As Single, _
    dy As Single, _
    unconnectedLinks As Boolean _
) As Boolean

 Parameters

dx
The horizontal offset of pasted items from their original positions.
dy
The vertical offset of pasted items from their original positions.
unconnectedLinks
true to allow pasting links whose origin or destination node has not been copied; otherwise, false.

 Return Value

true if successful; otherwise, false.

 Remarks

If MindFusion.Diagramming items are available in the clipboard, this method clones them and adds them to the current diagram. Non-zero dx / dy offset is useful when pasting items several times consecutively, so the pasted items don't overlay the original ones completely.

 See Also

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