V
V
veydlin2016-04-09 20:48:39
C++ / C#
veydlin, 2016-04-09 20:48:39

What is the best PDF viewing library to use?

On a quick glance, all the libraries I've found are fancy monsters, and not every one is for viewing, some are just for PDF creation.
All I need is to display a "screenshot" of the first page of the document in a PictureBox.
What is the best way to use this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
Lertmind, 2016-04-09
@Lertmind

It's worth trying out Ghostscript.NET . Using the GhostscriptRasterizer class ( 2nd example ) rasterize the page into an Image for the PictureBox. Although it seems necessary to install Ghostscript.
Another option is pdfclown . In the archive with the release along the path PDFClown\dotNET\pdfclown.samples.cli\src\org\pdfclown\samples\cli\ there is an example of RenderingSample, which also uses rasterization in Image.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question