pdf thumbnails

Example requests & Code samples for GdPicture Toolkits.
Post Reply
dcoffey
Posts: 12
Joined: Mon Feb 11, 2008 1:37 am

pdf thumbnails

Post by dcoffey » Mon Feb 11, 2008 2:02 am

Could you give me some direction on how I would open a pdf file and display the first page as a thumbnail in an image control?

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: pdf thumbnails

Post by Loïc » Wed Feb 13, 2008 1:16 pm

Hi,

The fastest way consists to use a GdViewer control with low PdfDpirendering property value.

ie:

Code: Select all

GdViewer1.PdfDpiRendering = 20
GdViewer1.DisplayFromPdfFile ("MyPdf.pdf")

Regards,

Loïc

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest