|  | This document is archived and information here might be outdated. Recommended version. | 
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. |