Provides access to members that control a collection of layers that behaves like a single layer.
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Description
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.
Members
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. |
Inherited Interfaces
Interfaces | Description |
---|---|
ILayer | Provides access to members that work with all layers. |
CoClasses that implement IGroupLayer
CoClasses and Classes | Description |
---|---|
BasemapLayer | Layer containing a Basemap. |
GroupLayer | A collection of layers that behaves like a single layer. |
Remarks
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.
See Also
IGroupLayer Interface | ICompositeLayer Interface | GroupLayer Class