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


IProportionalSymbolRenderer.LegendSymbolCount Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IP > IProportionalSymbolRenderer Interface > IProportionalSymbolRenderer.LegendSymbolCount Property
ArcGIS Developer Help

IProportionalSymbolRenderer.LegendSymbolCount Property

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

Product Availability

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

Remarks

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.

See Also

IProportionalSymbolRenderer Interface