PDA

View Full Version : Get a First Page Screenshot of the Opened PDF Document


Vindic
April 18th, 2008, 02:16 AM
Hi, In order to complete our project we needs to create a preview of the First Page of the Opened PDF Document.
I saw in one of your Demo that you had a Snapshot Tool to copy a selected rectangle into the Clipboard, but my question is how can we do that automatically without an action of the user.
In other word how can we get the hDC of the ActiveX to copy it on a Bitmap and draw this one in an other Rectangle.

Thanks in advance.

jinming_wang
April 21st, 2008, 01:42 AM
I am afraid that there is no function offered in ActiveX 2.0 Standard Version to create a preview of PDF page.The way getting the hDC of the ActiveX may not work, for ActiveX is not a painting control. Foxit Developer Team will customize the ActiveX for you if you would like to add this function to ActiveX 2.0.For customizing the ActiveX,please contact sales@foxitsoftware.com.