GoDiagram Web Reference
EditPaste Method

Paste and select a copy of the clipboard's GoObjects into this view's document.
Syntax
'Declaration
 
Public Overridable Sub EditPaste() 
public virtual void EditPaste()
Remarks

After calling PasteFromClipboard, it selects all of the newly inserted top-level objects, and then calls RaiseClipboardPasted. This method does nothing if CanInsertObjects is false. All the actions occur within a transaction. The selection is built between SelectionStarting and SelectionFinished events.

All of the pasted objects will be copied by deserializing them. If any of the objects, or any of the objects that they refer to, are not (de-)serializable, there will be a serialization exception, and the paste might fail. PasteFromClipboard will log any exceptions to any trace listeners. The User Guide discusses serialization and deserialization in more detail.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoView Class
GoView Members
CanEditPaste Method
DisableKeys Property

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback