#include "BITIFF.H"
BOOL CALLBACK MergeTiffFiles( LPCTSTR szDestinationFileName,
LPCTSTR szFileName,
PROGRESSPROC lpCallBackFunction,
void* lpUser)
Description
This function will combine two TIFF Files into a single multi page TIFF File. The szFileName will be appended to the szDestinationFileName. The szFileName can be a multi page TIFF File and every page in szFileName will be appended to szDestinationFileName.
Parameters
|
LPCTSTR |
szDestinationFileName |
The destination TIFF File. |
|
|
LPCTSTR |
szFileName |
The TIFF File that will be appended to the szDestinationFileName. |
|
|
PROGRESSPROC |
lpCallBackFunction |
Call back function, a developer can write a function to display a progress bar. If the lpCallBackFunction is not null this function is called for every image. |
|
|
Void* |
lpUser |
This pointer is the third parameter of the lpCallBackFunction. |
|
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.
Programming notess
int CALLBACK lpCallBackFunction(int nTotalNumberOfImages, int nCurrentImage)
int nTotalNumberOfImages The number of images to be merged.
int nCurrentImage The current image to be merged.
void* lpUser The developers can add a pointer to the
function.
Requirements
Header : Declared in BiTiff.h; include BiTiff.h.
Library : Use BiTIFF.lib.
DLLs : BiTiff.dll.
References to related functions
See SplitTiffFile(), CutTiffFile().