LoadTiffChainIntoDIB

#include "BITIFF.H"

HANDLE CALLBACK LoadTiffChainIntoDIB(TIFFFILE hChain, int nImage)

Description

Loads the n-th image from the opened TIFF file into a device independent bitmap. Handles all of the low level calls internally in the DLL. To retrieve the last error, use the TiffErrorString().  The TIFF file must be opened with the OpenTiffFile() function. You should not use the GetTiffImage() to read the n-th image in the chain.

Parameters

TIFFFILE

hChain

TIFF image chain handle.

int

nImage

Index of the asked image.

Return values

The handle to the DIB is NULL if any error occurs.

Programming notes

This function was designed to be used with high-level application generators like Borland C++ Builder, Borland Delphi or MS Visual Basic.

Requirements

Header :     Declared in BiTiff.h; include BiTiff.h.

Library :    Use BiTIFF.lib.

DLLs :       BiTiff.dll.

References to related functions

See LoadTiffChainIntoBitmap().