GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoLayer Class / Add Method
In This Topic
    Add Method (GoLayer)
    In This Topic
    Add an object to this layer.
    Syntax
    public void Add( 
       GoObject obj
    )

    Parameters

    obj
    Remarks
    The obj must not already belong to a different document or view, nor to a group. If the object already belongs to this layer, nothing happens. The object's GoObject.Layer property will be changed to be this layer. If the object already belonged to a different layer in this same document or view, the Changed hint will be ChangedObjectLayer, otherwise it will be InsertedObject.
    See Also