#include "BITIFF.H"
BOOL CALLBACK IsTiffImageRegistered(TIFFFILE hChain, int iImage)
Description
Asks whether the iImage-th image in the image chain is registered or not. It tests iImage, and sets error flag to TINDEXOUTOFRANGE if iImage < 0 or iImage >= the number of images in the image chain.
Parameters
|
TIFFFILE |
hChain |
TIFF image chain handle. |
|
int |
iImage |
Index of the asked image. |
Return values
The function returns TRUE if the asked image is registered, otherwise it returns FALSE and sets error flag to TIMAGENOTREGISTERED.
Programming notes
An image is registered if iImage was retrieved by GetTiffImage() or DefineTiffImage() and if it hasn't been released by DropTiffImage() yet.
Requirements
Header : Declared in BiTiff.h; include BiTiff.h.
Library : Use BiTIFF.lib.
DLLs : BiTiff.dll.