MindFusion.Java Package Programmer's Guide
DiagramView.pasteFromClipboard Method (Single, Single, Boolean)
See Also
 






Pastes diagram items from the system clipboard.

Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming

 Syntax

Java  Copy Code

public boolean pasteFromClipboard (
    float dx,
    float dy,
    boolean unconnectedLinks
)

 Parameters

dx

Horizontal offset of pasted items from their original positions.

dy

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. Default is false.

 Return Value

 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
com.mindfusion.diagramming Namespace