PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Fri May 03, 2024 11:15 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Sun Mar 28, 2010 12:34 pm 
Offline

Joined: Fri Mar 26, 2010 6:22 pm
Posts: 3
Location: Glasgow
I have only just begun with PDF sharp and MigraDoc and am on the steepest part of the learning curve. So if I ask a few stupid questions then please bear with me.

My first question relates to the use of images in MigraDoc. Can anyone save me some time and tell me the appropriate methods for using an image from the system.drawing namespace in a MigraDoc section. I can see that MigraDoc has a section.add(image) method but I cannot see how to convert a system.drawing image format to the MigraDoc native image format.


Top
 Profile  
Reply with quote  
PostPosted: Mon Mar 29, 2010 7:54 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3097
Location: Cologne, Germany
MigraDoc (currently) requires images to be files.
Save your image as a file and use the filename with MigraDoc.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
PostPosted: Mon Mar 29, 2010 1:25 pm 
Offline

Joined: Fri Mar 26, 2010 6:22 pm
Posts: 3
Location: Glasgow
Ok; thanks Thomas. Incidently; thank you very much for MigraDoc and PDFsharp it's everything I hoped it would be and more. You've clearly put a lot of hard work into it.


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 110 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