HtmlFixedSaveOptions.ExportEmbeddedSvg

HtmlFixedSaveOptions ExportEmbeddedSvg property. Specifies whether SVG resources should be embedded into Html document. Default value is true.

HtmlFixedSaveOptions.ExportEmbeddedSvg property

Specifies whether SVG resources should be embedded into Html document. Default value is true.

public bool ExportEmbeddedSvg { get; set; }

Examples

Shows how to export all resources embedded into the output HtmlFixed file.

HtmlFixedSaveOptions htmlFixedSaveOptions = new HtmlFixedSaveOptions();
htmlFixedSaveOptions.ExportEmbeddedCss = true;
htmlFixedSaveOptions.ExportEmbeddedFonts = true;
htmlFixedSaveOptions.ExportEmbeddedImages = true;
htmlFixedSaveOptions.ExportEmbeddedSvg = true;

Converter.Create()
    .From(MyDir + "Simple.docx")
    .To(ArtifactsDir + "HtmlFixedSaveOptions.ExportEmbedded.html", htmlFixedSaveOptions)
    .Execute();

See Also