How do I use OLE Picture objects with .NET?
Several of the Xpdf components include functions which return OLE Picture objects (the IPicture interface). These can be used in .NET applications, with just a little extra work.
The key is to use .NET's FromHbitmap method to convert the OLE Picture object to a .NET Bitmap object. For example, to use XpdfRasterizer's convertPageToPicture function from VB.net:
This applies to the following functions: