PDFsharp & MigraDoc Foundation http://forum.pdfsharp.de/ |
|
Convert PDF to EMF http://forum.pdfsharp.de/viewtopic.php?f=2&t=3135 |
Page 1 of 1 |
Author: | George [ Thu Jun 18, 2015 6:54 am ] |
Post subject: | Convert PDF to EMF |
Using PDFSharp can we convert PDF to EMF? I see there is an XGraphics class, but not sure if/how it can be used to do that. PdfDocument document = PdfReader.Open(filename, PdfDocumentOpenMode.Import); XGraphics gfx = XGraphics.FromPdfPage(document.Pages[0]); |
Author: | Thomas Hoevel [ Thu Jun 18, 2015 7:48 am ] |
Post subject: | Re: Convert PDF to EMF |
George wrote: Using PDFSharp can we convert PDF to EMF? Not with the XGraphics class.PDFsharp does not parse the drawing instructions from PDF files - this is left as an exercise for the reader (and not an easy one). |
Author: | George [ Thu Jun 18, 2015 9:16 am ] |
Post subject: | Re: Convert PDF to EMF |
Is there some guidance on how to do that? Any sample code to use as a base? Or any other ideas on how to achieve this with PDFSharp and/or MigraDoc? |
Author: | Thomas Hoevel [ Thu Jun 18, 2015 9:22 am ] |
Post subject: | Re: Convert PDF to EMF |
On this forum you can find some posts on extracting text from PDF using PDFsharp. That would be the best start I can think of. But before trying that, I would google for implementations that convert PDF to EMF. |
Author: | calosteward [ Wed Jul 29, 2015 5:59 am ] |
Post subject: | Re: Convert PDF to EMF |
I also see XGraphics class, but don't know how to use it. And for converting PDF to EMF, free resource can be easy found on google: http://download.cnet.com/Free-PDF-to-EM ... 68847.html But I also looking forward PDFSharp can supports it one day. |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |