Friday, August 22, 2014

SVG Display in .NET WebBroswer Control

The following example illustrates how to get the WebBrowser control in .NET to display inline SVG files:



The above file will display correctly in the WebBrowser control.  The meta tag is what you need.

Thanks to Lukas on this under-acknowledged stackoverflow answer:
http://stackoverflow.com/questions/8852722/webbrowser-control-wpf-or-windows-forms-cant-display-svg-files-contained-in
Post a Comment