Eyeshot 10 WinForms API Reference
Remove(Layer) Method

WinForms Assembly > devDept.Eyeshot Namespace > LayerList Class > Remove Method : Remove(Layer) Method
The layer
Removes the specified layer and all entities on it.
Syntax
'Declaration
 
Public Overloads Sub Remove( _
   ByVal layer As Layer _
) 
public 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

Reference

LayerList Class
LayerList Members
Overload List