Search
DiagramView.pasteFromClipboard Method (float, float)
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
)

 Parameters

dx

Horizontal offset of pasted items from their original positions.

dy

Vertical offset of pasted items from their original positions.

 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