We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Problems inserting inline svg with DocumentBuilder.InsertHtml method


we are having some problems inserting HTML with inline SVG using DocumentBuilder.InsertHtml method:

  1. It seems that shapes having a hyperlink on it are lost (see SVGFile.html) in resulting document
  2. The label (text) of the shapes is shifted to the right in resulting document (see Text.html)
  3. It seem that foreignObject tags are not supported?

We are using ASPOSE.Words for .Net and tried even with latest version (17.3.0).

I Attached a sample VS2015 project (removed Aspose DLL) and the generated output PDF.

Any ideas or recommendations?

Thanks in advance and best regards

Hi Christian,

Thanks for your inquiry. We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-15083. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-15083) have been fixed in this Aspose.Words for .NET 17.5 update and this Aspose.Words for Java 17.5 update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.