Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot Namespace / LayerKeyedCollection Class / Add Method / Add(String,Color) Method
The layer name
The layer color

In This Topic
    Add(String,Color) Method
    In This Topic
    Adds one Layer at the end of this collection.
    Syntax
    'Declaration
     
    Public Overloads Overridable Function Add( _
       ByVal layerName As String, _
       ByVal color As Color _
    ) As Integer
    public virtual int Add( 
       string layerName,
       Color color
    )

    Parameters

    layerName
    The layer name
    color
    The layer color

    Return Value

    The layer index.
    See Also