[Gtk-sharp-list] Rendering PDF Documents

Adam Tauno Williams awilliam at whitemice.org
Tue Sep 7 15:34:34 EDT 2010


On Tue, 2010-09-07 at 21:28 +0200, Rampage wrote:
> Adam Tauno Williams ha scritto:
> > On Tue, 2010-09-07 at 03:32 -0700, Stifu wrote:
> >> But as for PDFsharp, the site mentions it can "draw on the screen".
> > Which is rather awesomely vague.  Via Winforms, a frame buffer, cairo,
> > etc... ?
> I've found out that libpoppler-sharp can render pdf files on screen
> using Cairo, the problem is that all the examples are in c++ and when i
> try to do something using c# and gtk# there are no samples or documentation.
> alsoi've noticed that libpoppler can (apparently) render only pdf from
> files, wich is somehow limiting since in may situations i have to deal
> with in memory streams and byte arrays, writing them to temporary files
> for viewing may result ina waste of time and resources.

Well, a bit-o-binging led me to 
<http://git.gnome.org/browse/pdfmod/tree/src/PdfMod/Pdf/Document.cs>
which is a source file for the *very* nice PDFMod application.  Which
displays and slice-and-dices PDF files.  It seems to use PdfSharp
<http://sourceforge.net/projects/pdfsharp/> and poppler.



More information about the Gtk-sharp-list mailing list