This document is archived and information here might be outdated. Recommended version. |
Number of symbols displayed in the TOC and legend.
[Visual Basic .NET]
Public Property LegendSymbolCount As Integer
[C#]
public int LegendSymbolCount {get; set;}
[C++]
HRESULT get_LegendSymbolCount(
System.Int32* num
);
[C++]
HRESULT put_LegendSymbolCount(
long num
);
[C++] Parameters num [out, retval]
num is a parameter of type long* num [in]
num is a parameter of type long
The ProportionalSymbolRenderer does not use a fixed set of symbols, and so the legend information for the renderer must be refreshed by calling CreateLegendSymbols after changes are made to renderer properties.
This property represents the number of desired symbol sizes to be shown in the legend entry for the renderer. The property is onl used if ValueUnit = esriUnknownUnits. In this case the set of symbols to be shown in the table of contents, and legend if applicable is determined based on the values of these properties: MinSymbol/MinDataValue, MaxDataValue which is the largest possible value in the data, and LegendSymbolCount. Be sure to set these properties before calling CreateLegendSymbol.
If ValueUnit is some known data unit, then only the MinSymbol is shown in the legend and LegendSymbolCount is not used.