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


ILegendWizard Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > CartoUI > ESRI.ArcGIS.CartoUI > Interfaces > IL > ILegendWizard Interface
ArcGIS Developer Help

ILegendWizard Interface

Provides access to members of the legend wizard.

Product Availability

Available with ArcGIS Desktop.

Members

Name Description
Method DoModal Displays the legend wizard.
Write-only property InitialLegendFrame The initial legend frame (optional).
Read-only property LegendFrame The legend frame (valid after calling DoModal).
Write-only property PageLayout The page layout containing the map frame.

Classes that implement ILegendWizard

Classes Description
LegendWizard Legend wizard.

Remarks

Before calling the DoModal method on the LegendWizard, you must first do appropriate setup of a Legend object.  This includes creating a Legend object, adding it as a MapSurround to the FocusMap, and assigning a valid Envelope to the Legend's element geometry.