ArcObjects Library Reference (Carto)  

IMapServerLegendInfo.LegendGroups Property

A collection of legend group objects.

[Visual Basic .NET]
Public ReadOnly Property LegendGroups As IMapServerLegendGroups
[C#]
public IMapServerLegendGroups LegendGroups {get;}
[C++]
HRESULT get_LegendGroups(
  IMapServerLegendGroups** groups
);
[C++]

Parameters

groups [out, retval]

  groups is a parameter of type IMapServerLegendGroups

Product Availability

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

Remarks

Legends are associated with renderers that belong to each layer in a map. Each layer has a separate renderer. Each renderer has one or more legend groups. Each legend group has one or more legend classes.

See Also

IMapServerLegendInfo Interface