Usage Integer GetLayerNumberAt(Index As Integer)
Description This method gets the number of the layer on the specified index in the array of layers. Use the SetNumberOfLayers method to create array of layers.
Parameters Index Integer Index of the layer in the array. This parameter is a zero based integer.
Return value Number of the specified layer on success, otherwise -1. If the layer array is not created the method returns -1. If the index is less than 0 or higher than the number of elements in the array minus 1, the method returns -1.
Programming Notes If you don’t want to use parameters as references in the parameter list you can use the following methods for handling viewable layers: SetLayerNumberAt, GetLayerNumberAt, SetNumberOfLayers, SetLayersExt. If you use C#, JavaScript, etc you should use these methods for layers.