Search
Diagram.PasteSelection Method
See Also
 






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

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public bool PasteSelection (
    SelectionCopy data,
    double dx,
    double dy
)

Visual Basic  Copy Code

Public Function PasteSelection( _
    data As SelectionCopy, _
    dx As Double, _
    dy As Double _
) As Boolean

 Parameters

data

A SelectionCopy object returned by a previous call to CopySelection.

dx

Horizontal offset of pasted items from their original positions.

dy

Vertical offset of pasted items from their original positions.

 Return Value

true if data contains any items; otherwise, false.

 Remarks

This method can be used in conjunction with CopySelection to copy selected items from one Diagram instance to another

 See Also