本文介绍了嵌入SVG转换成PDF编程方式在.NET C#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有谁知道如何创建与C#中的PDF格式,并添加一个SVG文档此PDF里面?

Does anyone know how to create a pdf with C# and add a SVG document inside of this PDF ?

iTextSharp的不能做到这一点。

itextsharp can't do it.

我SVG转换成图像感谢这个库(HTTP://svg.$c$cplex.com/),但我需要保持矢量图形,因为图像pixelised

I convert SVG into image thanks to this library (http://svg.codeplex.com/) but I need to keep vectorial graphic because image is pixelised.

任何人都知道一个图书馆办呢?

Anyone know a library to do it ?

谢谢

推荐答案

是有可能与iTextSharp的。

is it possible with itextsharp.

 MyImageStream = new MemoryStream();
 myChart.SaveImage(MyImageStream);

我的图表将是SVG图表对象

my chart would be the svg chart object

这篇关于嵌入SVG转换成PDF编程方式在.NET C#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-19 19:27