esriDynamicLegendType Constants (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Constants > E > esriDynamicLegendType Constants (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

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.