GoDiagram Win Reference
CreateDataObject Method

the original collection passed to CopyToClipboard
the GoDocument holding a copy of coll that normally should be the primary value in the clipboard, with a DataFormat as specified by GoDocument.DataFormat.
This method is called from CopyToClipboard to produce a DataObject representing the available data formats and their values for the objects in the clipboard.
Syntax
'Declaration
 
Protected Overridable Function CreateDataObject( _
   ByVal coll As IGoCollection, _
   ByVal clipdoc As GoDocument _
) As DataObject
protected virtual DataObject CreateDataObject( 
   IGoCollection coll,
   GoDocument clipdoc
)

Parameters

coll
the original collection passed to CopyToClipboard
clipdoc
the GoDocument holding a copy of coll that normally should be the primary value in the clipboard, with a DataFormat as specified by GoDocument.DataFormat.
Remarks
In addition to using the GoDocument.DataFormat format to store the clipdoc, this calls GetBitmapFromCollection(IGoCollection) to draw the collection into a bitmap and to insert it into the clipboard as an alternative Bitmap data format. Finally, each object in the clipboard document that implements IGoLabeledPart provides a text value. The text strings are all concatenated together, separated by NewLines, to provide an alternative textual data format value in the clipboard for those applications that cannot handle bitmaps either.
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