HtmlFixedSaveOptions.ExportEmbeddedImages

HtmlFixedSaveOptions ExportEmbeddedImages property. Specifies whether images should be embedded into Html document in Base64 format. Note setting this flag can significantly increase size of output Html file.

HtmlFixedSaveOptions.ExportEmbeddedImages property

Specifies whether images should be embedded into Html document in Base64 format. Note setting this flag can significantly increase size of output Html file.

public bool ExportEmbeddedImages { 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