This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IC > ICompositeGraphicsLayer Interface (ArcObjects .NET 10.5 SDK) |
Provides access to members that control a collection of graphics layers that behave like single layer. Note: the ICompositeGraphicsLayer interface has been superseded byICompositeGraphicsLayer2. Please consider using the more recent version.
Description | ||
---|---|---|
Activate | Prepare to display graphic on screen. | |
AddLayer | Adds a layer to the composite graphics layer. | |
AssociatedLayer | Layer that is associated with this graphics layer. | |
Deactivate | ActiveView that graphics are displayed on is no longer visible. | |
DeleteLayer | Removes a layer from the composite graphics layer. | |
FindLayer | Finds a layer in the composite graphics layer. | |
UseAssociatedLayerVisibility | Indicates if the layer that is associated with this graphics layer controls the visibility. |
Interfaces | Description |
---|---|
IGraphicsLayer | Provides access to members that control the Graphics Layer. |
CoClasses and Classes | Description |
---|---|
CompositeGraphicsLayer | A collection of graphics layers that behave like single layer. |
A CompositeGraphicsLayer manages a collection of graphics layers.
An example of a composite graphics layer is the Map�s basic graphics layer accessed through IMap::BasciGraphicsLayer. It is both a graphics layer on which to draw and a composite graphics layer which contains all the map's graphic layer. The Map�s basic graphics layer cannot be deleted from the CompositeGraphicsLayer object. Get a reference to the map's basic graphics layer throught the ICompositeGraphicsLayer interface to manage the layer it contains. This way, graphics layers can be added to or deleted from the map.
The ICompositeGraphicsLayer interface inherits from the IGraphicsLayer interface.