ArcObjects Library Reference (Carto)  

IMapEvents2.ActiveGraphicsLayerChanged Event

Fired when the active graphics layer changes.

[Visual Basic 6.0]
Event ActiveGraphicsLayerChanged(
    ByVal oldGraphicsLayer As IGraphicsLayer, _
    ByVal newGraphicsLayer As IGraphicsLayer _
)
[Visual Basic .NET]
Public Event ActiveGraphicsLayerChanged As ActiveGraphicsLayerChangedEventHandler
[C#]
public event ActiveGraphicsLayerChangedEventHandler ActiveGraphicsLayerChanged
[C++]
HRESULT ActiveGraphicsLayerChanged(
  IGraphicsLayer* oldGraphicsLayer,
  IGraphicsLayer* newGraphicsLayer
);
[C++]

Parameters

oldGraphicsLayer [in]

  oldGraphicsLayer is a parameter of type IGraphicsLayer

newGraphicsLayer [in]

  newGraphicsLayer is a parameter of type IGraphicsLayer

Product Availability

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

See Also

IMapEvents2 Interface