PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Sun Apr 28, 2024 2:53 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Tue Nov 04, 2008 7:43 pm 
Offline

Joined: Tue Nov 04, 2008 7:33 pm
Posts: 1
First of all, I'd like to say that this is a great library! Thanks!

I've been scanning the forums trying to find a definitive answer to whether or not you can convert a pdfpage or page to an image of some kind. Some posts said that this could not be done, but they were a couple of years old.

I also see that there is a way to render a pdfpage on a windows form control (however in the most recent download, I did not seem to get that project).

If this is true, then I know you can take the contents of a form canvas and render that to an image.... so it seems like the answer would be yes?

Does anybody know one way or the other?

Thanks
demi


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Nov 05, 2008 8:51 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3096
Location: Cologne, Germany
PDFsharp uses XGraphics to create a PDF file.
XGraphics can also be drawn in a Window - e. g. the Preview Window included in the project.
But XImages will not show in the Preview.

You can use the Ghostscript library to create BMPs from PDF. We include sample code showing how to call Ghostscript from .NET.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 373 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group