ESRI.ArcGIS.ADF.Web
CreateBlankBitmap Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.Display.Drawing Namespace > GdiUtility Class : CreateBlankBitmap Method




g
System.Drawing.Graphics object..
backColor
Color of the background.
width
The width.
height
The height.
Creates the blank bitmap.

Syntax

Visual Basic (Declaration) 
Public Shared Function CreateBlankBitmap( _
   ByRef g As Graphics, _
   ByVal backColor As Color, _
   ByVal width As Integer, _
   ByVal height As Integer _
) As Bitmap
Visual Basic (Usage)Copy Code
Dim g As Graphics
Dim backColor As Color
Dim width As Integer
Dim height As Integer
Dim value As Bitmap
 
value = GdiUtility.CreateBlankBitmap(g, backColor, width, height)
C# 
public static Bitmap CreateBlankBitmap( 
   out Graphics g,
   Color backColor,
   int width,
   int height
)

Parameters

g
System.Drawing.Graphics object..
backColor
Color of the background.
width
The width.
height
The height.

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.