LoadTiffFromMemory  Method

Description         This method loads an image from the TIFF file stored in a memory block. You can have TIFF images in the memory block by loading binary data from files, databases, etc.

Syntax                 RetVal = [BITIFF.] LoadTiffFromMemory hTiffInMemory nImage

Returns               RetVal                    LONGLONG DIB on success, otherwise 0.

Remarks             hTiffInMemory     LONGLONG Handle of the memory block.

                            nImage                   LONG             The nth image, or page number, for multi page images.  Numbering is zero based, for example:  Page 2 would be referenced as ‘1’.

See Also

Note:                   This method does not free the DIB.  Call the DropDIB method to free up the DIB