UpdatePageNumbers

#include "BITIFF.H"

BOOL CALLBACK UpdatePageNumbers(LPTSTR lpszFileName, int nPages)

Description

Sets the page numbering tag in the TIFF file header. This is an optional tag and it should be used with the Bicom, Dialogic and Natural Micro Systems based fax hardware. It must be used with SaveDIBInBicomTiffFile(), SaveDIBInDialogicTiffFile() and SaveDIBInNMSTiffFile() functions. This function should be used after all of the images are saved in the TIFF file.

Parameters

LPTSTR

lpszFileName

Path to the TIFF file.

int

nPage

The number of pages in the TIFF file.

Additional Information

This example shows how to use the dll when loading statically including the header file. Otherwise if the dll is loaded dynamically, for further information read the “About the difference of static and dynamic library loading” section of the manual.

Return values

TRUE on success, otherwise FALSE.

Requirements

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

Library :    Use BiTIFF.lib.

DLLs :       BiTiff.dll.

References to related functions

See SaveDIBInBicomTiffFile(), SaveDIBInDialogicTiffFile(), SaveDIBInNMSTiffFile().