PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Sat Apr 27, 2024 6:28 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
 Post subject: Add an image from memory
PostPosted: Wed Feb 24, 2010 8:33 am 
Offline

Joined: Wed Feb 24, 2010 8:27 am
Posts: 1
Just wondering if it's possible to add a jpg that is part of the program's resource file rather than from a file on disk? The MigraDoc.DocumentObjectModel.Shapes.Image class only seems to support loading images from a path. My aim is to add an image to a footer using MigraDoc.

While searching I came across the XGraphics object but can't find a way to get it to render into a Paragraph object so that I can add it to the footer.


Top
 Profile  
Reply with quote  
PostPosted: Wed Feb 24, 2010 10:04 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3096
Location: Cologne, Germany
See also here:
viewtopic.php?f=4&t=1048

_________________
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 391 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