DiagramLite Programmer's Guide
Diagram.PasteSelection Method
See Also
 





Adds the specified items and groups to this diagram.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming.Silverlight

 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

Diagram Members
Diagram Class
MindFusion.Diagramming Namespace
CopySelection Method
LinkPasted Event
NodePasted Event