HtmlFixedSaveOptions.ExportEmbeddedFonts
HtmlFixedSaveOptions ExportEmbeddedFonts property. Specifies whether fonts should be embedded into Html document in Base64 format. Note setting this flag can significantly increase size of output Html file.
HtmlFixedSaveOptions.ExportEmbeddedFonts property
Specifies whether fonts should be embedded into Html document in Base64 format. Note setting this flag can significantly increase size of output Html file.
public bool ExportEmbeddedFonts { 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
- class HtmlFixedSaveOptions
- namespace Wordize.Saving
- assembly Wordize