LoadPDFIntoDIB

 

LoadPDFIntoDIB(FileName as String, PageNumber as Long) as Long

Description

Load the page specified in the PageNumber parameter into a DIB from the PDF file.The page numbering starts with 1.

Parameters

Long

PageNumber

The page to be loaded. The PageNumber is a zero based integer.

String

FileName

The name of the file to be loaded

Return values

The handle to the loaded DIB. The handle can be passed to other function to display or save the DIB.

Note:                   This method does not free the DIB.  Call the DropDIB method to free up the DIB