ClearImage .NET API
Create(Int32,Int32,PixelFormat) Method





Inlite.ClearImageNet Namespace > ImageIO Class > Create Method : Create(Int32,Int32,PixelFormat) Method
width in pixels
height in pixels
pixel format. Valid values: Format1bppIndexed, Format8bppIndexed, Format24bppRgb
Creates Bitmap object of specified size and pixel format
Syntax
'Declaration
 
Public Overloads Shared Function Create( _
   ByVal width As System.Integer, _
   ByVal height As System.Integer, _
   ByVal fmt As System.Drawing.Imaging.PixelFormat _
) As System.Drawing.Bitmap
'Usage
 
Dim width As System.Integer
Dim height As System.Integer
Dim fmt As System.Drawing.Imaging.PixelFormat
Dim value As System.Drawing.Bitmap
 
value = ImageIO.Create(width, height, fmt)
public static System.Drawing.Bitmap Create( 
   System.int width,
   System.int height,
   System.Drawing.Imaging.PixelFormat fmt
)
public function Create( 
    width: System.Integer;
    height: System.Integer;
    fmt: System.Drawing.Imaging.PixelFormat
): System.Drawing.Bitmap; static; 
public static function Create( 
   width : System.int,
   height : System.int,
   fmt : System.Drawing.Imaging.PixelFormat
) : System.Drawing.Bitmap;
public:
static System.Drawing.Bitmap^ Create( 
   System.int width,
   System.int height,
   System.Drawing.Imaging.PixelFormat fmt
) 

Parameters

width
width in pixels
height
height in pixels
fmt
pixel format. Valid values: Format1bppIndexed, Format8bppIndexed, Format24bppRgb

Return Value

Bitmap object
See Also

Reference

ImageIO Class
ImageIO Members
Overload List