Visual Basic (Declaration) | |
---|---|
Public Overridable Sub Paste() |
C# | |
---|---|
public virtual void Paste() |
This calls PasteFromClipboard to get a collection of nodes and links, copies them into this Diagram's model (by calling Northwoods.GoXam.Model.IDiagramModel.AddCollectionCopy), and then selects all of the newly created parts. This also raises the F:Northwoods.GoXam.Diagram.ClipboardPastedEvent. All of the changes are performed in an undoable edit.