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


ILegendItem2.CreateGraphics Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IL > ILegendItem2 Interface > ILegendItem2.CreateGraphics Method
ArcGIS Developer Help

ILegendItem2.CreateGraphics Method

Rebuilds the list of graphics. Call whenever the associated layer changes.

[Visual Basic .NET]
Public Sub CreateGraphics ( _
    ByVal Display As IDisplay, _
    ByVal LegendFormat As ILegendFormat _
)
[C#]
public void CreateGraphics (
    IDisplay Display,
    ILegendFormat LegendFormat
);
[C++]
HRESULT CreateGraphics(
  IDisplay* Display,
  ILegendFormat* LegendFormat
);
[C++]
Parameters
Display [in]

Display is a parameter of type IDisplay* LegendFormat [in]
LegendFormat is a parameter of type ILegendFormat*

Product Availability

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

See Also

ILegendItem2 Interface