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
If you are using the webbrowser control for SVG, you will have a problem with Access Violation due to Data Execution Prevention.
The workaround is to have the following lines in your post-build events
call "$(DevEnvDir)..\..\VC\bin\vcvars32.bat"
call "$(DevEnvDir)..\..\VC\bin\editbin.exe" /NXCOMPAT:NO "$(TargetPath)"
You can also try SVG Icon Builder. Please refer the following link to know more about that
How To: Draw and Use SVG Images
You could use Forms.WebBrowser with
WebBrowser.Url = new Uri($"file://{pathSvg}");
If you are using the webbrowser control for SVG, you will have a problem with Access Violation due to Data Execution Prevention.
The workaround is to have the following lines in your post-build events
call "$(DevEnvDir)..\..\VC\bin\vcvars32.bat"
call "$(DevEnvDir)..\..\VC\bin\editbin.exe" /NXCOMPAT:NO "$(TargetPath)"
For additional information see this link.
Have you looked at Ab2d set of Apis? ReaderSvg and ViewerSvg seems to do the job? But they aren´t free!
I have tried SVG.NET with WinForms and it works excellent.