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

esriDynamicLegendType Constants (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Constants > E > esriDynamicLegendType Constants
ArcGIS Developer Help

esriDynamicLegendType Constants

Options for instrumenting a renderer for sampling legend information.

Constant Value Description
esriDynamicLegendTypeNone 1 Disable sampling of legend info.
esriDynamicLegendTypeVisibility 2 Determine whether a legend class is drawn. IDynamicLegendClass::Count is set to 0 or 1.
esriDynamicLegendTypeCount 3 Counts the number of times a legend class is drawn. Count is found in IDynamicLegendClass::Count.

Product Availability

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