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




width
Width of the bitmap.
height
Height of the bitmap.
resourceName
Name of the resource that is not available.
resourceIndex
Index of the resource.
Static (shared) method to draw a bitmap with the data-not-available message.

Syntax

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

Parameters

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

Return Value

Bitmap with the data-not-available message in the localized language.

See Also

© 2010 All Rights Reserved.