SetLayersExt

Usage                  Boolean SetLayersExt()

Description         This method set viewable layers. Before using this method the array of layers should be created. Use the SetNumberOfLayers method for creating, GetLayerNumberAt and SetLayerNumberAt methods for handling the array. The functionality of this method and SetLayers are equal. This method does not use parameters as reference.

Parameters

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.