public int GetLayerIndex(string layerName);

Parameters

layerNameThe layer name.

Returns

int The layer index.

Description 描述

Returns the index of the layer with the given name.