Is there a way to render SVG in Windows Forms?

后端 未结 5 690
被撕碎了的回忆
被撕碎了的回忆 2021-02-13 01:37

I am working with a library that renders part of its state as an SVG document.

I would like to render this in either a Windows Forms or a WPF environment. Is there curre

5条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-13 01:47

    You could use Forms.WebBrowser with

    WebBrowser.Url = new Uri($"file://{pathSvg}");

提交回复
热议问题