Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot Namespace / LayerKeyedCollection Class / Remove Method / Remove(Layer) Method
The layer

In This Topic
    Remove(Layer) Method
    In This Topic
    Removes the specified layer and all entities on it.
    Syntax
    'Declaration
     
    Public Overloads Shadows Sub Remove( _
       ByVal layer As Layer _
    ) 
    public new void Remove( 
       Layer layer
    )

    Parameters

    layer
    The layer
    Remarks
    It removes also entities on the specified layer inside the Blocks. If a block becomes empty after the removal of the entities on the layer, all the BlockReferences referring to it are removed as well.
    See Also