C#
VB
C++
Retrieves the index of the layer with the specified name.
public int GetLayerIndex(
string layerName
)
Public Function GetLayerIndex( _
ByVal layerName As String _
) As Integer
public:
int GetLayerIndex(
String^ layerName
)
layerName
Character string that contains the name of the layer.
Layer index
For an example, refer to CreateLayer.
GetLayerGraphicObjectCount Method
RemoveLayerGraphicObjects Method