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


IDynamicLegendLayer.InstrumentedDraw Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IDynamicLegendLayer.InstrumentedDraw Method

Update counts in legend classes. Specify NULL geometry to clear counts.

[Visual Basic .NET]
Public Sub InstrumentedDraw ( _
    ByVal Type As esriDynamicLegendType, _
    ByVal pMapDisplay As IDisplay, _
    ByVal MapExtent As IGeometry, _
    ByVal TrackCancel As ITrackCancel _
)
[C#]
public void InstrumentedDraw (
    esriDynamicLegendType Type,
    IDisplay pMapDisplay,
    IGeometry MapExtent,
    ITrackCancel TrackCancel
);
[C++]
HRESULT InstrumentedDraw(
  esriDynamicLegendType Type,
  IDisplay* pMapDisplay,
  IGeometry* MapExtent,
  ITrackCancel* TrackCancel
);
[C++]

Parameters Type [in]
Type is a parameter of type esriDynamicLegendType pMapDisplay [in]
pMapDisplay is a parameter of type IDisplay MapExtent [in]
MapExtent is a parameter of type IGeometry TrackCancel [in]
TrackCancel is a parameter of type ITrackCancel

Product Availability

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

See Also

IDynamicLegendLayer Interface