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.
Product Availability
Members
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. |
Inherited Interfaces
Interfaces | Description |
---|---|
IGraphicsLayer | Provides access to members that control the Graphics Layer. |
CoClasses that implement ICompositeGraphicsLayer
CoClasses and Classes | Description |
---|---|
CompositeGraphicsLayer | A collection of graphics layers that behave like single layer. |
Remarks
A CompositeGraphicsLayer manages a collection of graphics layers.
An example of a composite graphics layer is the Maps 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 Maps 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.