Usage Boolean SetNumberOfLayers(nLayers As Integer)
Description This method creates the array of viewable layers. Use the GetLayerNumberAt and SetLayerNumberAt methods for handling the array.
Parameters nLayers Integer Positive integer value. The number of elements in the array.
Return value TRUE on success, otherwise FALSE. If the nLayers parameter is less or equval zero, the method returns FALSE.
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.