DroidDiagram Programmer's Guide
Diagram.pasteSelection Method
See Also
 






Adds the specified items and groups to the specified diagram document.

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

 Syntax

Java  Copy Code

public boolean pasteSelection (
    Diagram doc,
    SelectionCopy data,
    CompositeCmd cmd,
    float dx,
    float dy
)

 Parameters

doc
A Diagram object to which the items should be added.
data
A SelectionCopy object returned by a previous call to copySelection.
cmd
A CompositeCmd object where the items state should be recorded for later undo or redo.
dx
Horizontal offset of pasted items from their original positions.
dy
Vertical offset of pasted items from their original positions.

 Return Value

 See Also

Diagram Members
Diagram Class
com.mindfusion.diagramming Namespace