I want to add an SVG image file that is specified in html in an img tag to my PDF using the MSHTML engine. The image appears properly in the browser using the same html. However, when I use AddImageHtml to add to the PDF, the SVG does not appear (it displays the broken image icon). If I switch to Gecko, the image appears as expected.

I would prefer to use MSHTML as the engine because the HTML content I have to work with was optimized for IE. Is there a setting or something that I am missing that would cause the IE9 MSHTML engine to not render a static SVG image?

有帮助吗?

解决方案

The ABCpdf Component Comparison links the term "Embedded SVG" to a ForGecko only property.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top