This document is archived and information here might be outdated.  Recommended version.


IBasicMap2.ActiveGraphicsLayer Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IB > IBasicMap2 Interface > IBasicMap2.ActiveGraphicsLayer Property
ArcGIS Developer Help

IBasicMap2.ActiveGraphicsLayer Property

The active graphics layer. If no graphic layers exist a basic memory graphics layer will be created.

[Visual Basic .NET]
Public Property ActiveGraphicsLayer As ILayer
[C#]
public ILayer ActiveGraphicsLayer {get; set;}
[C++]
HRESULT get_ActiveGraphicsLayer(
  ILayer** ppGraphicsLayer
);
[C++]
HRESULT putref_ActiveGraphicsLayer(
  ILayer* ppGraphicsLayer
);
[C++]
Parameters
ppGraphicsLayer [out, retval]

ppGraphicsLayer is a parameter of type ILayer** ppGraphicsLayer [in]
ppGraphicsLayer is a parameter of type ILayer*

Product Availability

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

See Also

IBasicMap2 Interface