PDF_ERROR pdf_SaveDIBAsPDFPage( HPDF pPDF,
HANDLE hDIB,
LPCSTR szTiffDllName)
Description
Save a DIB as a page in the PDF file. The page is reformatted to fit the image. The TIFF DLL is loaded dynamically when it is needed from the path specified in szTiffDllName
Parameters
|
HPDF |
pPDF |
Pointer to the PDF object |
|
HANDLE |
hDIB |
The DIB to be saved NOTE: The color depth of the DIB must be a 1 bit |
|
LPCTSTR |
szTiffDllName |
The string containing the path to the TIFF DLL |
Return values
Returns a PDF_ERROR if any error occured. Call PDF_GetLastError() for the error code.