View previous topic :: View next topic |
Author |
Message |
gbayard
Joined: 14 Feb 2008 Posts: 1
|
Posted: Thu Feb 14, 2008 3:44 am Post subject: Adding an Image from a Stream |
|
|
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? |
|
Back to top |
|
|
myro
Joined: 11 Feb 2008 Posts: 2
|
Posted: Mon Feb 18, 2008 9:22 am Post subject: |
|
|
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.... |
|
Back to top |
|
|
|