Allocate prepares space for an image with Width and Height sizes.

Make sure LegacyBitmap is False before set formats other than 1 bit gray scale or 24 bit RGB.

Namespace: HiComponents.IEvolution
Assembly: IEvolution2 (in IEvolution2.dll) Version: 10.0.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public void Allocate(
	int width,
	int height,
	IEImage..::..PixelFormat pixelFormat
)
Public Sub Allocate ( _
	width As Integer, _
	height As Integer, _
	pixelFormat As IEImage..::..PixelFormat _
)
public:
void Allocate(
	int width, 
	int height, 
	IEImage..::..PixelFormat pixelFormat
)

Parameters

width
Int32
Resulting image width
height
Int32
Resulting image height
pixelFormat
IEImage..::..PixelFormat
Returns true on successful

See Also