How to display image in SVG format in asp.net pages

User f75be1290c

18-11-2014 04:18:01

Hello,


Our system is using ChemAxon.NET.Base.Rendering.IBaseRenderer.RenderToImage(System.Drawing.Imaging.ImageFormat)
to generate image in asp.net page, it display the image in PNG format, is it possible to display image in SVG format? I found there is no SVG option in System.Drawing.Imaging.ImageFormat

ChemAxon bd13b5bd77

18-11-2014 09:54:53

System.Drawing.Imaging.ImageFormat is what Microsoft supports therefore we try to support the same.


SVG is not a Windows based image format, please try to use EMF picture instead.


 


if you insist on the SVG you can do that from JAVA code:


https://docs.chemaxon.com/display/FF/Image+Export+in+Marvin


in this case all references (dlls 250 pieces) need to be added you find under the Program Files/ChemAxon/JChem.NET API