Description |
Loads an IOCA (IBM Image Object Content Architecture) Function Set 10 image from an MO:DCA file into a DIB from memory. The memory must be allocated using the GlobalAlloc Windows API function. The IBM MO:DCA file format supports many different types of objects, e.g.: text (PTOCA), vector graphics (GOCA), etc. The Black Ice Document Imaging SDK/ActiveX supports reading IOCA image objects only, other object types are not supported.
Images with the following compressions are supported:
· IBM MMR · Uncompressed · CCITT Group 3 1D · CCITT Group 3 2D · CCITT Group 4 · JPEG · LZW · Pack Bits
|
||
Syntax |
Dib = [BITIFF.] LoadMODCAImageIntoDIB GlobalMemory Size ImageIndex
|
||
Parameters |
GlobalMemory |
LONGLONG |
Handle to memory containing the MO:DCA document. The memory must be allocated using the GlobalAlloc Windows API function.
|
Size |
Long |
The size of the MO:DCA image in bytes.
|
|
ImageIndex |
Long |
0 based index of the image to load from the file.
|
|
Return Value |
The DIB handle on success, 0 on failure. Use the BiTiffGetLastErrort function to get the error code. |