ESRI.ArcGIS.ADF.Web.UI.WebControls
Draw(Envelope,Int32,Int32,Int32) Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > MapDrawUtility Class > Draw Method : Draw(Envelope,Int32,Int32,Int32) Method




extent
Extent to draw
imageWidth
Width of output image
imageHeight
Height of output image
dpi
Dpi of output image
Draws all map resources and returns drawn image for each map resource.

Syntax

Visual Basic (Declaration) 
Public Overloads Function Draw( _
   ByVal extent As ESRI.ArcGIS.ADF.Web.Geometry.Envelope, _
   ByVal imageWidth As Integer, _
   ByVal imageHeight As Integer, _
   ByVal dpi As Integer _
) As Dictionary(Of String,MapImage)
Visual Basic (Usage)Copy Code
Dim instance As MapDrawUtility
Dim extent As ESRI.ArcGIS.ADF.Web.Geometry.Envelope
Dim imageWidth As Integer
Dim imageHeight As Integer
Dim dpi As Integer
Dim value As Dictionary(Of String,MapImage)
 
value = instance.Draw(extent, imageWidth, imageHeight, dpi)
C# 
public Dictionary<string,MapImage> Draw( 
   ESRI.ArcGIS.ADF.Web.Geometry.Envelope extent,
   int imageWidth,
   int imageHeight,
   int dpi
)

Parameters

extent
Extent to draw
imageWidth
Width of output image
imageHeight
Height of output image
dpi
Dpi of output image

Return Value

MapImages with image data or URL indexed by resource name.

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.