ESRI.ArcGIS.ADF.IMS
Draw Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.IMS.Carto Namespace > Legend Class : Draw Method




Redraw the legend.

Syntax

Visual Basic (Declaration) 
Public Function Draw() As ESRI.ArcGIS.ADF.Web.CartoImage
Visual Basic (Usage)Copy Code
Dim instance As Legend
Dim value As ESRI.ArcGIS.ADF.Web.CartoImage
 
value = instance.Draw()
C# 
public ESRI.ArcGIS.ADF.Web.CartoImage Draw()

Return Value

A CartoImage object. Retrieve the legend URL by using the Url property of the CartoImage.

Example

For an example, see the Legend overview.

Remarks

This method draws the legend as an image file. The method draws only the legend, not the map.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.