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


ILegendItem.Graphics Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

ILegendItem.Graphics Property

List of graphics that represent the legend item. Must call CreateGraphics first.

[Visual Basic .NET]
Public ReadOnly Property Graphics As IEnumElement
[C#]
public IEnumElement Graphics {get;}
[C++]
HRESULT get_Graphics(
  IEnumElement** Graphics
);
[C++]

Parameters Graphics [out, retval]
Graphics is a parameter of type IEnumElement

Product Availability

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

Description

Graphics are measured in points.  The lower left corner is (0, 0).  Put elements in groups to keep the legend from flowing them across columns.

 

Remarks

Each element in the graphic list should be flowable, i.e,. can be moved to a new column in the legend if necessary.  Implement "keep together" by putting the elements that need to stay together in a group.  The top level elements must be put in the list in top to bottom order.

See Also

ILegendItem Interface