PDFsharp & MigraDoc Foundation
http://forum.pdfsharp.com/

vector image Support
http://forum.pdfsharp.com/viewtopic.php?f=4&t=2215
Page 1 of 1

Author:  mst [ Wed Nov 07, 2012 3:24 pm ]
Post subject:  vector image Support

Dear PDFsharp team,

PDF has the big advantage for me of generating vectorized documents. (Text, images can be included as vector-item)
In combination with charting tools such as "System.Windows.Forms.DataVisualization.Charting" which can also save vectorized emf files it would be a great feature to be able to include those images.

Imagine a PDF document including charts that can be zoomed without any losses or pixeling.

thanks anyway for your excellent library!
Michael

Author:  Thomas Hoevel [ Wed Nov 07, 2012 5:20 pm ]
Post subject:  Re: vector image Support

Hi, Michael,

You can do that already if you export the charts as PDF (instead of EMF).
You can use PDF pages just like images.

For charts from libraries, support for EMF or WMF would be nice.

Author:  fracks [ Thu Feb 06, 2014 4:04 am ]
Post subject:  Re: vector image Support

And how would one achieve that?

Been googling the internet on topic for a good day with no solid leads and would appreciate some help in this.

Author:  shareth [ Wed Jul 16, 2014 11:44 pm ]
Post subject:  Re: vector image Support

Simply this: But cannot show in document viewer. can see in exported PDF
Code:
Image image = section.AddImage("D:\\temp\\test.pdf");
       
      image.Width = "10cm";


Attachments:
Capture.PNG
Capture.PNG [ 17.41 KiB | Viewed 18731 times ]

Author:  () => true [ Mon Jul 21, 2014 3:36 pm ]
Post subject:  Re: vector image Support

shareth wrote:
Simply this: But cannot show in document viewer. can see in exported PDF
This is not a bug, this is a feature. Document viewer only shows red rectangle as a placeholder.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/