ClearImage .NET API
Create(Int32,Int32) Method





Inlite.ClearImageNet Namespace > ImageIO Class > Create Method : Create(Int32,Int32) Method
Width of the new image in pixels
Height of the new image in pixels
Create a Bi-tonal image
Syntax
'Declaration
 
Public Overloads Shared Function Create( _
   ByVal width As System.Integer, _
   ByVal height As System.Integer _
) As System.Drawing.Bitmap
'Usage
 
Dim width As System.Integer
Dim height As System.Integer
Dim value As System.Drawing.Bitmap
 
value = ImageIO.Create(width, height)
public static System.Drawing.Bitmap Create( 
   System.int width,
   System.int height
)
public function Create( 
    width: System.Integer;
    height: System.Integer
): System.Drawing.Bitmap; static; 
public static function Create( 
   width : System.int,
   height : System.int
) : System.Drawing.Bitmap;
public:
static System.Drawing.Bitmap^ Create( 
   System.int width,
   System.int height
) 

Parameters

width
Width of the new image in pixels
height
Height of the new image in pixels

Return Value

Bitmap object
Remarks

This method creates a bi-tonal image with all pixels are set to white and resolution is 300 dpi.

Use CreateBpp to create a  color or grayscale image object

This method generates an error if object.Image.IsZone is true.

 

See Also

Reference

ImageIO Class
ImageIO Members
Overload List