PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Fri Apr 19, 2024 7:39 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: Thu Feb 14, 2008 3:44 am 
Offline

Joined: Thu Feb 14, 2008 3:26 am
Posts: 1
I would like to add an image to a MigraDoc Lite document from a stream instead of a file. Is this possible? I was able to add an image from a stream in an earlier version of PdfSharp using XImage.FromStream, but that appears to be gone also. Any ideas aside from saving the image to the local disk first?


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Feb 18, 2008 9:22 am 
Offline

Joined: Mon Feb 11, 2008 5:06 pm
Posts: 2
Hello.
it looks like tha you can only get images from stream when you are creating a PDFsharp document.
This is not possible with migradoc.

You can save the stream on your hard disk using System.IO.FileInfo and then get the image throuth its path.

...i know,
this workaround suck.... :)


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 244 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