LayerKeyedCollection.Add (String, Color, String, String) Method
Adds a layer at the end of this collection..
Public Overridable Function Add( _
ByVal layerName As String, _
ByVal color As Color, _
ByVal materialName As String, _
ByVal lineTypeName As String _
) As Integer
This language is not supported or no code example is available.
This language is not supported or no code example is available.
Parameters
-
layerName
-
string
The layer name
-
color
-
Color
The layer color
-
materialName
-
string
The layer material
-
lineTypeName
-
string
The layer line type
Return Value
int
The layer index.
.NET Framework
Supported in: 4.5, 4.6, 4.7