PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Sun Aug 09, 2020 3:05 am

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: Fri May 30, 2014 6:47 pm 

Joined: Mon May 12, 2014 6:06 pm
Posts: 8
I spent some time this morning adding the ability to load images from a MemoryStream object and thought it might be nice to share my code for others who want to do the same.

First off, big kudos to jeffhare for information provided here:

It is the basis by which I made my code changes.

I am not overly fond of BBCODE because it is very limited with formatting options, so I stuffed it all into a PDF (ironic, right?) and zipped and attached it. Let me know if you have any issues.

File comment: How to add code to allow images in MigraDoc to come from an ImageStream
MigraDoc_Image_MemoryStream.zip [97.98 KiB]
Downloaded 265 times
Reply with quote  
PostPosted: Fri Mar 13, 2015 3:45 pm 

Joined: Fri Mar 13, 2015 9:23 am
Posts: 2
I have made the changes according to the instructions in the PDF attached in the previous post, using version 1.32 of MigraDoc.

It worked fine for me and saved me a lot of problems of having to save the images to file and read them again to generate the MigraDoc document and pdf file.

Thanks a lot, Urieal.

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: Google [Bot] and 16 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