GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoDocument Class / Add Method
In This Topic
    Add Method (GoDocument)
    In This Topic
    Add an object to the DefaultLayer, or to the LinksLayer if the object is an IGoLink.
    Syntax
    public virtual void Add( 
       GoObject obj
    )

    Parameters

    obj
    Remarks
    It is an error if the obj belongs to a different document or to a GoGroup. If the object already belongs to this document, nothing happens. If the object is a link, it adds the link to the LinksLayer rather than to the DefaultLayer, as is conventional.
    See Also