在Silverlight应用程序中显示SVG图像 [英] Display svg image in silverlight application
本文介绍了在Silverlight应用程序中显示SVG图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使用C#
Hi,
How can i display svg image in my silverlight apllication using C#
推荐答案
Silverlight不能直接解释SVG.
codeplex上的SVG项目可以读取SVG文件并将其呈现为Graphics对象,您可以在Silverlight中使用该对象.另外,您也可以使用HttpHandler将SVG直接呈现为PNG格式的浏览器.
Silverlight does not interpret SVG directly.
The SVG project at codeplex can read and render an SVG file to a Graphics object which you might be able to use in Silverlight. Alternatively you can just use the HttpHandler to render the SVG straight to the browser in PNG format.
这篇关于在Silverlight应用程序中显示SVG图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文