GoDiagram Win Reference
PasteFromClipboard Method

Copy the GoObjects in the clipboard into this view's document.
Syntax
'Declaration
 
Public Overridable Function PasteFromClipboard() As GoCopyDictionary
public virtual GoCopyDictionary PasteFromClipboard()

Return Value

The GoCopyDictionary representing the results of the copy.
Remarks

This assumes the clipboard has a value in this view's document's GoDocument.DataFormat. The value will be a GoDocument; we just call GoDocument.CopyFromCollection to copy the objects from the clipboard document into this document.

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. Exceptions will be logged 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

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback