Click or drag to resize

MemoryBitmapGetBitmap Method

This method returns the raw image data of the image object.

Namespace:  Kofax.OmniPageCSDK.IproPlus
Assembly:  Kofax.OmniPageCSDK.IproPlus (in Kofax.OmniPageCSDK.IproPlus.dll) Version: 1.0.0.0
Syntax
public void GetBitmap(
	out Object Bitmap,
	out ImageInfo ImgInfo,
	out Object Palette
)

Parameters

Bitmap
Type: SystemObject
ImgInfo
Type: Kofax.OmniPageCSDK.IproPlusImageInfo
Palette
Type: SystemObject
Remarks

The data is returned in the Bitmap parameter, which is a Byte array in Visual Basic or a VARIANT containing a one dimensional SAFEARRAY of bytes in C++. Bitmap information is returned in the ImgInfo parameter.

Palette is an optional output parameter used to retrieve palette information for 8-bit color bitmaps. It is a one dimensional, 768 element (256 color triplets, in RGB order) array of bytes in Visual Basic, or a VARIANT containing a same size SAFEARRAY of Bytes in C++. If the bitmap is not an 8-bit color bitmap, an empty array is returned.

See Also