convertPageToPicture2

Convert a page to a Picture object.
convertPageToPicture2([in] int page, [in] double dpi, [in] int color, [out, retval] IUnknown **pic)
This function converts a PDF page to a Picture object (OLE IPicture interface).

The arguments are:

Note that the color settings are read-only properties on the XpdfViewer control, so you'll need to use viewer.imageMono, etc.
VB6:
' convert page 5 to a 72 dpi color Picture object picBox.Picture = viewer.convertPageToPicture(5, 72, viewer.imageRGB)
convertRegionToPicture2
convertPageToBMP2
convertRegionToBMP2
imageMono
imageGray
imageRGB