PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Sat May 15, 2021 7:49 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: Mon Dec 11, 2006 10:39 am 
Offline

Joined: Mon Dec 11, 2006 10:26 am
Posts: 1
I am using Dundas Chart to draw some charts and would like to put these on a PDF. However I cannot find a way to copy a System.Drawing.Graphics to an XGraphics. PdfSharp also does not appear to support System.Drawing.Imaging.Metafile so I cannot draw on this and then draw that on the XGraphics. The only way I have got this working is by using a bitmap which really isn't very useful.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Dec 11, 2006 8:43 pm 
Offline
empira Employee
User avatar

Joined: Thu Oct 12, 2006 10:07 pm
Posts: 49
Location: Cologne, Germany
There is no simple solution for your problem. I know Dundas Chart and a combination of Dundas Chart and PDFsharp would be really a powerful and successful product! But the only way to do that is to integrate PDFsharp into the source of the chart library using XGraphics as their drawing context and that is a job only Dundas Software can do.

The conversion of Windows Metafiles into PDF is theoretically possible but in detail very difficult and a lot of hard work. Some libraries (like PDF4NET from O2 Solutions) have such functionality, but when I tried it (about a year ago) the results looked pretty only for very simple metafiles.

So with PDFsharp using bitmaps is the only way currently possible.

Regards
Stefan Lange


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