This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IC > ICompositeGraphicsLayer2 Interface (ArcObjects .NET 10.4 SDK) |
Provides access to members that control a collection of graphics layers that behave like single layer.
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. | |
DrawDefault | Draws the default 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 |
---|---|
ICompositeGraphicsLayer | Provides access to members that control a collection of graphics layers that behave like single layer. |
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. |
The purpose of the DrawDefault property of ICompositeGraphicsLayer2 is to draw only the default layer of the Composite Graphics Layer. If you subsequently add other layers to it using the ICompositeGraphicsLayer::AddLayer method they will not be drawn. However, every layer will draw if you call ILayer::Draw.