LoadPDFIntoDIB

 

HANDLE CCreatePDF::LoadPDFIntoDIB(LPSTR 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

LPSTR

szFileName

The PDF file to be loaded

DWORD

dwPageNumber

The number of the page to be loaded. The page numbering starts with 0.

Return values

HANDLE hDIB         Handle to the DIB image extracted from the PDF file.