ArcObjects Library Reference  (Carto)    

GroupLayer CoClass

A collection of layers that behaves like a single layer.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

GroupLayers are containers that manage some properties for a collection of other layers.  Use the IGroupLayer and ICompositeLayer interfaces to work with GroupLayers.

Supported Platforms

Windows, Solaris, Linux

Interfaces

Interfaces Description
ICompositeLayer Provides access to members that work with a collection of layers that behaves like a single layer.
IConnectionPointContainer Supports connection points for connectable objects.
IDisplayAdmin (esriDisplay) Provides access to members that control display administration.
IDisplayAdmin2 (esriDisplay) Provides access to members that control display administration.
IGeoDataset (esriGeoDatabase) Provides access to members that provide information about a Geographic Dataset.
IGroupLayer Provides access to members that control a collection of layers that behaves like a single layer.
IIdentify Provides access to members that identify features.
IIdentify2 Provides access to members that set the current scale of the display.
ILayer Provides access to members that work with all layers.
ILayer2 Provides access to additional members that work with all layers.
ILayerDrawingProperties Provides access to members that control layer drawing properties.
ILayerEffects Provides access to members that control layer effects.
ILayerExtensions Provides access to the extensions of a layer.
ILayerGeneralProperties Provides access to layer general properties.
ILayerInfo Provides access to members that return layer images.
ILayerMasking Provides access to means to mask layers with other layers.
ILayerPosition Provides access to members that control a layer's default position in the map interface.
ILayerSymbologyExtents Provides access to layer extents based on the symbology.
ILevelMasking Provides access to means to mask layers with other layers based on symbol levels.
IMapLevel (esriDisplay) Provides access to members that control the map level.
IPersist Defines the single method GetClassID, which is designed to supply the CLSID of an object that can be stored persistently in the system. IPersist is the base interface for three other interfaces: IPersistStorage, IPersistStream, and IPersistFile.
IPersistStream (esriSystem)
IPublishLayer Provides access to a layer's capability for being published with the ArcGIS Publisher extension.
ISymbolLevels Provides access to members that control symbol level drawing.

Event Interfaces

Interfaces Description
ILayerEvents (default) Provides access to events that occur when layer visibility changes.

Working with Events

[Visual Basic 6.0]

When working with GroupLayer's default outbound interface in Visual Basic 6 declare variables as follows:

Private WithEvents pGroupLayer as GroupLayer