#include "BITIFF.H"
BOOL CALLBACK SaveDIBInBicomTiffFile( LPTSTR lpszFileName,
HANDLE hDIB)
Description
This function was designed specifically to produce a TIFF image compatible with Natural Micro System (NMS) technology based fax boards. Some of the fax board manufactures are Bicom, Commetrex and NMS. It saves the device independent bitmap (DIB) in the TIFF Class-F file lpszFileName for Faxing. It does all low-level calls internally in the DLL. To retrieve the last error, use the TiffErrorString(). Once all the pages are added to the TIFF one must call the UpdatePageNumbers() function to set the page numbering correctly.
Parameters
|
LPTSTR |
lpszFileName |
Path to the TIFF file. |
|
HANDLE |
hDIB |
Device independent bitmap to be saved. |
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 notes
This function was designed to be used with high-level application generators like Borland C++, Visual Basic.
Requirements
Header : Declared in BiTiff.h; include BiTiff.h.
Library : Use BiTIFF.lib.
DLLs : BiTiff.dll.
References to related functions
See UpdatePageNumbers(), SaveBitmapInTiffFile(), LoadTiffIntoDIB(), LoadTiffFileIntoBitmap().