ESRI.ArcGIS.ADF.Web.UI.WebControls
Draw Method
See Also  Send Feedback
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.

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.