Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot Namespace / EntityList Class / Add Method / Add(Entity,Color) Method
The entity to be added.
The entity color

In This Topic
    Add(Entity,Color) Method
    In This Topic
    Adds one devDept.Eyeshot.Entities.Entity at the end of this collection using the specified color.
    Syntax
    'Declaration
     
    Public Overloads Sub Add( _
       ByVal entity As Entity, _
       ByVal color As Color _
    ) 
    public void Add( 
       Entity entity,
       Color color
    )

    Parameters

    entity
    The entity to be added.
    color
    The entity color
    Remarks
    The entity will be added to the "Default" layer or to the first one if missing.
    See Also