Create(Int32,Int32,PixelFormat) Method
ClearImage 8 Help
Create(Int32,Int32,PixelFormat) Method
See Also  Send Feedback
Inlite.ClearImageNet Namespace > ImageIO Class > Create Method : Create(Int32,Int32,PixelFormat) Method






width
width in pixels
height
height in pixels
fmt
pixel format. Valid values: Format1bppIndexed, Format8bppIndexed, Format24bppRgb
Creates Bitmap object of specified size and pixel format

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function Create( _
   ByVal width As Integer, _
   ByVal height As Integer, _
   ByVal fmt As PixelFormat _
) As Bitmap
Visual Basic (Usage)Copy Code
Dim width As Integer
Dim height As Integer
Dim fmt As PixelFormat
Dim value As Bitmap
 
value = ImageIO.Create(width, height, fmt)
C# 
public static Bitmap Create( 
   int width,
   int height,
   PixelFormat fmt
)
Delphi 
public function Create( 
    width: Integer;
    height: Integer;
    fmt: PixelFormat
): Bitmap; static; 
JScript 
public static function Create( 
   width : int,
   height : int,
   fmt : PixelFormat
) : Bitmap;
Managed Extensions for C++ 
public: static Bitmap* Create( 
   int width,
   int height,
   PixelFormat fmt
) 
C++/CLI 
public:
static Bitmap^ Create( 
   int width,
   int height,
   PixelFormat fmt
) 

Parameters

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

Return Value

Bitmap object

Remarks

Licensing: Requires any ClearImage license

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

© 2007-2013. Inlite Research, Inc. All Rights Reserved.