#include "BITIFF.H"
BOOL CALLBACK SaveDIBInCALSFormat (LPSTR lpFileName,
HANDLE hDib,
LPCALSNOTE lpNote,
LPINT lpOrient,
BOOL bDispInfo)
Description
Saves the device independent bitmap (DIB) in the lpFileName. lpNote contains CALS transfer unit data file documentation information records. lpOrient points to an array with the two raster image orientation angle. If lpOrient is NULL the default values are 90 and 270.If the 'bDispInfo' is set to TRUE, a dialog box is displayed for modification the document information of the image. To retrieve the last error, use the TiffErrorString().
Parameters
|
LPSTR |
lpFileName |
Pointer to the file name string. |
|
HANDLE |
hDib |
Device independent bitmap. |
|
LPCALSNOTE |
lpNote |
Pointer the CALS document information records. |
|
LPINT |
lpOrient |
Pointer to the two orientation value. |
|
BOOL |
bDispInfo |
Display information dialog box. |
Return values
Returns TRUE on success, FALSE if failed. If parameter bDispInfo is TRUE, and the user presses the Cancel button when the dialog appears, the function will return FALSE.
Requirements
Header : Declared in BiTiff.h; include BiTiff.h.
Library : Use BiTiff.lib.
DLLs : BiTiff.dll.