Hello,
this is one of the most-wanted features, but PDFsharp cannot render PDF. See
http://wikihost.org/wikis/pdfsharp/wiki/faq4265
Take a look at the PdfSharp.Ghostscript assembly. There is a function
PdfToPng. You can make a function
PdfToJpeg by changing the parameter
Code:
args.Add("-sDEVICE=png16m")
(see Ghostscript documentation for details).
We at empira Software use this functionality to create page preview images and embed them into the PDF file as PNGs. So our applications can preview a page without having Adobe Reader running.
Regards
Stefan Lange