ESRI.ArcGIS.ADF.IMS
Draw(SpatialReference) Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.IMS.Carto Namespace > View Class > Draw Method : Draw(SpatialReference) Method




newSpatialReference
The new spatial reference properties for which you want the map redrawn.
Redraws the map with new spatial reference properties.

Syntax

Visual Basic (Declaration) 
Public Overloads MustOverride Function Draw( _
   ByVal newSpatialReference As SpatialReference _
) As ESRI.ArcGIS.ADF.Web.CartoImage
Visual Basic (Usage)Copy Code
Dim instance As View
Dim newSpatialReference As SpatialReference
Dim value As ESRI.ArcGIS.ADF.Web.CartoImage
 
value = instance.Draw(newSpatialReference)
C# 
public abstract ESRI.ArcGIS.ADF.Web.CartoImage Draw( 
   SpatialReference newSpatialReference
)

Parameters

newSpatialReference
The new spatial reference properties for which you want the map redrawn.

Return Value

New redrawn map image with specified spatial reference, in the form of a CartoImage object. Use CartoImage.Url to retrieve the image's URL.

Remarks

See the implementations in MapView and LayoutView for specifics on how this method works.

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.