![]() ![]() |
ESRI.ArcGIS.ADF.Web.UI.WebControls | |
Draw(String,Envelope,Int32,Int32,Int32,Boolean) Method | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > MapDrawUtility Class > Draw Method : Draw(String,Envelope,Int32,Int32,Int32,Boolean) Method |
- resourceName
- The name of the resource to draw.
- extent
- Extent to draw
- imageWidth
- Width of output image
- imageHeight
- Height of output image
- dpi
- Dpi of output image
Visual Basic (Declaration) | |
---|---|
Public Overloads Function Draw( _ ByVal resourceName As String, _ ByVal extent As ESRI.ArcGIS.ADF.Web.Geometry.Envelope, _ ByVal imageWidth As Integer, _ ByVal imageHeight As Integer, _ ByVal dpi As Integer, _ ByVal drawIfResolutionUnavailable As Boolean _ ) As ESRI.ArcGIS.ADF.Web.MapImage |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As MapDrawUtility Dim resourceName As String Dim extent As ESRI.ArcGIS.ADF.Web.Geometry.Envelope Dim imageWidth As Integer Dim imageHeight As Integer Dim dpi As Integer Dim drawIfResolutionUnavailable As Boolean Dim value As ESRI.ArcGIS.ADF.Web.MapImage value = instance.Draw(resourceName, extent, imageWidth, imageHeight, dpi, drawIfResolutionUnavailable) |
C# | |
---|---|
public ESRI.ArcGIS.ADF.Web.MapImage Draw( string resourceName, ESRI.ArcGIS.ADF.Web.Geometry.Envelope extent, int imageWidth, int imageHeight, int dpi, bool drawIfResolutionUnavailable ) |
Parameters
- resourceName
- The name of the resource to draw.
- extent
- Extent to draw
- imageWidth
- Width of output image
- imageHeight
- Height of output image
- dpi
- Dpi of output image
- drawIfResolutionUnavailable
- Whether to draw the resource if it is not available at the requested resolution. If true, the resource will be drawn at a higher (more zoomed out) resolution.
Return Value
MapImage with image data or URL.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