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




URI of the Legend Image.

Syntax

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

Example

For an example, see the Legend overview.

Remarks

This is the CartoImage object generated after a draw of the legend. A legend image is generated either by the Legend.Draw method, or, if the MapView property RefreshLegend is true, by a method of MapView that draws a map, such as Draw, Pan or Zoom.

Once the image is generated, use the Url property of the CartoImage to retrieve the URL of the legend image.

See Also

© 2010 All Rights Reserved.