Set alternate text of SVG after HTML to DOCX conversion using C#

Hi Team,

Similar to image (by setting alt property), how can we set the alt text of svg in html to word?

Regards,
Sanjay

@skothari120790

When HTML is imported into Aspose.Words’ DOM, SVG is imported as Shape node. You can use Shape.AlternativeText property to set the alternative text of shape.

However, Aspose.Words does not provide API to detect either shape is SVG or other type. We have logged this feature request as WORDSNET-19809 in our issue tracking system. You will be notified via this forum thread once this feature is available.

We apologize for your inconvenience.

@skothari120790

We have closed WORDSNET-19809 issue with ‘Won’t Fix’ resolution. You can use Shape.AlternativeText property to define alternative text to be displayed instead of a graphic.