GoDiagram Web Reference
CreateDocument Method

This method is called by the constructor to create a document for this view.
Syntax
'Declaration
 
Public Overridable Function CreateDocument() As GoDocument
public virtual GoDocument CreateDocument()

Return Value

Remarks
By default this just creates a new instance of GoDocument. Often you will want to override this method so that creating a particular kind of view will automatically create the right kind of document. This method is not called when the constructor is passed a non-null GoDocument.
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

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback