public static int NameToID (string name);

Parámetros

nameThe name of the layer.

Valor de retorno

int The unique id of the layer with name.

Descripción

Returns the id given the name. Will return 0 if an invalid name was given.