GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoView Class / CreateDocument Method
In This Topic
    CreateDocument Method
    In This Topic
    This method is called by the constructor to create a document for this view.
    Syntax
    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.
    See Also