ESRI.ArcGIS.ADF.IMS
Legend Property
See Also 
ESRI.ArcGIS.ADF.IMS.Carto Namespace > MapView Class : Legend Property




Gets or sets the Legend object that this MapView contains.

Syntax

Visual Basic (Declaration) 
Public Property Legend As Legend
Visual Basic (Usage)Copy Code
Dim instance As MapView
Dim value As Legend
 
instance.Legend = value
 
value = instance.Legend
C# 
public Legend Legend {get; set;}

Example

For an example of working with the Legend, see the Legend overview.

Remarks

Legend allow access to the legend object associated with the map. The legend can be drawn as an image at the same time the map is drawn. Settings in the legend object determine how the legend is drawn. To turn on or off legend drawing, use the RefreshLegend property.

See Also

© 2010 All Rights Reserved.