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




resourceNames
The names of the resources to draw.
extent
Extent to draw
imageWidth
Width of output image
imageHeight
Height of output image
dpi
Dpi of output image
Draws the specified map resources and returns drawn image for each map resource.

Syntax

Visual Basic (Declaration) 
Public Overloads Function Draw( _
   ByVal resourceNames() As String, _
   ByVal extent As 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 resourceNames() As String
Dim extent As Envelope
Dim imageWidth As Integer
Dim imageHeight As Integer
Dim dpi As Integer
Dim value As Dictionary(Of String, MapImage)
 
value = instance.Draw(resourceNames, extent, imageWidth, imageHeight, dpi)
C# 
public Dictionary<string, MapImage> Draw( 
   string[] resourceNames,
   Envelope extent,
   int imageWidth,
   int imageHeight,
   int dpi
)

Parameters

resourceNames
The names of the resources to draw.
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.

See Also

© 2010 All Rights Reserved.