HANDLE CCreatePDF::LoadPDFIntoDIB(LPTSTR szFileName, DWORD dwPageNumber)
Description
Used top load a PDF page into a DIB. Works only with PDF files that contains the page as an image.
Parameters
|
LPTSTR |
szFileName |
The PDF file to be loaded |
|
DWORD |
dwPageNumber |
The number of the page to be loaded. The page numbering starts with 0. |
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
HANDLE hDIB Handle to the DIB image extracted from the PDF file.