我怎样才能显示在64位的.NET应用程序的SVG文件? [英] How can I display an SVG file in a 64-bit .NET application?
问题描述
我有我需要显示在一个.NET Windows窗体应用程序的SVG文件。这是一个<一个href="http://stackoverflow.com/questions/397189/how-to-display-vector-graphics-svg-in-a-winforms-application">common问题的。但是,WebBrowser控件不工作,因为IE浏览器的引擎不正确地呈现我的SVG(特别是它忽视了preserve空白指令)。我看着 Chrome浏览器和的火狐的控制和他们的工作很好,但他们只有32位和其他需要引用该项目在64位模式下进行编译。当然,必须有一些选项在64位模式下显示正确呈现SVG?
I have an SVG file that I need to display in a .NET Windows Forms application. This is a common problem. However, the WebBrowser control doesn't work because IE's engine doesn't render my SVG correctly (specifically it ignores the preserve whitespace directive). I looked into Chrome and Firefox controls and they worked great but they are 32-bit only and other references require the project to be compiled in 64-bit mode. Surely there must be some option for displaying correctly rendered SVG in 64-bit mode?
推荐答案
我已经试过SVG.NET(的https:/ /github.com/vvvv/SVG )与WinForms和它的作品非常好。
I have tried SVG.NET (https://github.com/vvvv/SVG) with WinForms and it works excellent.
这篇关于我怎样才能显示在64位的.NET应用程序的SVG文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!