Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot Namespace / LayerKeyedCollection Class / Clear Method / Clear(Boolean) Method
When true the collection is initialized with the "Default" layer.

In This Topic
    Clear(Boolean) Method
    In This Topic
    Clears this collection.
    Syntax
    'Declaration
     
    Public Overloads Sub Clear( _
       ByVal addDefaultLayer As Boolean _
    ) 
    public void Clear( 
       bool addDefaultLayer
    )

    Parameters

    addDefaultLayer
    When true the collection is initialized with the "Default" layer.
    Remarks
    When the collection is linked to a ViewportLayout, it clears also the Entities collection and the default layer is always added.
    See Also