Option to Export Word Document Graphics in SVG Format or not during Conversion to HTML Fixed Format using C# .NET

Hi,

I use this code to generate a HTML out of a document

Document docF = new Document(“Annual Report_V7.docx”); Annual Report_V7.zip (75.2 KB)

HtmlFixedSaveOptions saveOption = new HtmlFixedSaveOptions();
saveOption.Encoding = Encoding.UTF8;
saveOption.FontFormat = ExportFontFormat.Ttf;
saveOption.ExportEmbeddedCss = true;
saveOption.ExportEmbeddedImages = true;
saveOption.ExportEmbeddedFonts = true;
saveOption.ExportEmbeddedSvg = true;
saveOption.PrettyFormat = true;
saveOption.CssClassNamesPrefix = “dm”;
using (MemoryStream origHtmlStream = new MemoryStream())
{
docF.Save(origHtmlStream, saveOption);
docF.Save(@“output.html”, saveOption);
}

There are no pictures in this document but I found some SVGs in HTML file.
I see the SVGs are used to draw some lines in a table. But why?

In my case, SVGs are not allowed but I can use jpeg. Can I convert the SVGs to jpeg
before storing them in Html?

Kind regards,
Guido

Kind regards,
Guido

@Nachti,

We have logged this problem in our issue tracking system. Your ticket number is WORDSNET-19959. We will further look into the details of this problem and will keep you updated on the status of the linked issue. We apologize for any inconvenience.