ESRI.ArcGIS.ADF.Web.UI.WebControls
DrawMapImage Method
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > DataNotAvailableDrawingUtility Class : DrawMapImage Method




width
Width of the output image.
height
Height of the output image.
resourceName
Name of the resource that is not available.
resourceIndex
Index of the resource.
Outputs a MapImage form of the data-not-available message.

Syntax

Visual Basic (Declaration) 
Public Shared Function DrawMapImage( _
   ByVal width As Integer, _
   ByVal height As Integer, _
   ByVal resourceName As String, _
   ByVal resourceIndex As Integer _
) As MapImage
Visual Basic (Usage)Copy Code
Dim width As Integer
Dim height As Integer
Dim resourceName As String
Dim resourceIndex As Integer
Dim value As MapImage
 
value = DataNotAvailableDrawingUtility.DrawMapImage(width, height, resourceName, resourceIndex)
C# 
public static MapImage DrawMapImage( 
   int width,
   int height,
   string resourceName,
   int resourceIndex
)

Parameters

width
Width of the output image.
height
Height of the output image.
resourceName
Name of the resource that is not available.
resourceIndex
Index of the resource.

Return Value

MapImage with the data-not-available image as MimeData.

See Also

© 2010 All Rights Reserved.