
You may want to consider using GhostScript as an interpreter because rendering pages is a fairly simple process. Net and they tend to be be distributed under the GPL. There is also Poppler, a rendering engine that uses Xpdf as a rendering engine.Īll of these are great but they will require a fair amount of commitment to make make them work and interface with. You could have a look at the source code for SumatraPDF, an OpenSource PDF viewer for windows.
PDF TOOLBOX V8 HOW TO
In addition to Omar Shahine's code snippet, there is a CodeProject article that shows how to use the Adobe ActiveX, but it may be out of date, easily broken by new releases and its legality is murky (basically it's ok for internal use but you can't ship it and you can't use it on a server to produce images of PDF). Most are fairly expensive though, especially if all you care about is making a simple preview/thumbnails. You can get a commercial renderer ( PDFViewForNet, PDFRasterizer.NET, ABCPDF, ActivePDF, XpdfRasterizer and others in the other answers.). In the last two I talk about a few things you can try: NET open PDF in winform without external dependencies Get a preview jpeg of a pdf on windows?.


There are a few other choices in case the Adobe ActiveX isn't what you're looking for (since Acrobat must be present on the user machine and you can't ship it yourself).įor creating the PDF preview, first have a look at some other discussions on the subject on StackOverflow:
