This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapLayers2 Interface (ArcObjects .NET 10.5 SDK) |
Provides access to layers.
Description | ||
---|---|---|
AddLayer | Adds a layer to the map. | |
AddLayers | Adds multiple layers to the map, arranging them nicely if specified. | |
ClearLayers | Removes all layers from the map. | |
DeleteLayer | Deletes a layer from the map. | |
InsertLayer | Inserts a layer at the given position. | |
InsertLayerInGroup | Inserts a layer at a given index of the map's group layer. | |
InsertLayers | Inserts layers at the given position. | |
InsertLayersInGroup | Inserts layers at a given index of the map's group layer. | |
IsLayerVisible | Check if layer is visible. | |
IsLayerVisibleEx | Check if layer is visible. | |
Layer | The layer at the given index. | |
LayerCount | Number of layers in the map. | |
Layers | The layers in the map of the type specified in the uid. If recursive is true it will return layers in group layers. | |
MoveLayer | Moves a layer to another position. | |
MoveLayerEx | Moves the layer with in the map. |
Interfaces | Description |
---|---|
IMapLayers | Provides access to layers. |
CoClasses and Classes | Description |
---|---|
Map | A container for the display and manipulation of map data. |
Scene (esri3DAnalyst) | A container for the display and manipulation of data. |