GoDiagram Web Reference
Prototype Property (GoToolCreating)

Gets or sets the GoObject that should be copied, sized, and positioned by this tool.
Syntax
'Declaration
 
Public Overridable Property Prototype As GoObject
public virtual GoObject Prototype {get; set;}

Property Value

By default this is just a GoRectangle, but it is normally set to the kind of object, initialized the way you want, that you want the user to draw. The object should be Resizable and ResizesRealtime, and probably should be Reshapable.
Remarks
You might override this property to get the prototype object from a collection of objects, chosen by the some context that your application determines. For example, this might always return
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

GoToolCreating Class
GoToolCreating Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback