MemoryBitmapGetBitmap Method
|
This method returns the raw image data of the image object.
Namespace:
Kofax.OmniPageCSDK.IproPlusAssembly:
Kofax.OmniPageCSDK.IproPlus (in Kofax.OmniPageCSDK.IproPlus.dll) Version: 1.0.0.0
Syntaxpublic void GetBitmap(
out Object Bitmap,
out ImageInfo ImgInfo,
out Object Palette
)
Public Sub GetBitmap (
<OutAttribute> ByRef Bitmap As Object,
<OutAttribute> ByRef ImgInfo As ImageInfo,
<OutAttribute> ByRef Palette As Object
)
public:
void GetBitmap(
[OutAttribute] Object^% Bitmap,
[OutAttribute] ImageInfo^% ImgInfo,
[OutAttribute] 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