This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IG > IGroupLayer Interface (ArcObjects .NET 10.4 SDK) |
Provides access to members that control a collection of layers that behaves like a single layer.
The IGroupLayer interface provides methods for managing the contents of GroupLayers. Use the ILayer interface to set properties for the GroupLayer, or use the appropriate interface to adjust properties of the constituent layers.
Description | ||
---|---|---|
Add | Adds a layer to the end of the group. | |
AreaOfInterest | The default area of interest for the layer. | |
Cached | Indicates if the layer needs its own display cache. | |
Clear | Removes all layers from the group. | |
Delete | Removes the specified layer from the group. | |
Draw | Draws the layer to the specified display for the given draw phase. | |
Expanded | Indicates if the group's entry is expanded in the TOC. | |
MaximumScale | Maximum scale (representative fraction) at which the layer will display. | |
MinimumScale | Minimum scale (representative fraction) at which the layer will display. | |
Name | Layer name. | |
ShowTips | Indicates if the layer shows map tips. | |
SpatialReference | Spatial reference for the layer. | |
SupportedDrawPhases | Supported draw phases. | |
TipText | Map tip text at the specified location. | |
Valid | Indicates if the layer is currently valid. | |
Visible | Indicates if the layer is currently visible. |
Interfaces | Description |
---|---|
ILayer | Provides access to members that work with all layers. |
CoClasses and Classes | Description |
---|---|
BasemapLayer | Layer containing a Basemap. |
GroupLayer | A collection of layers that behaves like a single layer. |
A group layer is a special case of a composite layer. Custom layer implementations of IGroupLayer are rarely needed, but when done it is importat to implement ICompositeLayer as well.
IGroupLayer Interface | GroupLayer Class | ICompositeLayer Interface