HtmlFixedSaveOptionsExportEmbeddedFonts 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.
Namespace:
Aspose.Words.Saving
Assembly:
Aspose.Words (in Aspose.Words.dll) Version: 20.3
Syntaxpublic bool ExportEmbeddedFonts { get; set; }Public Property ExportEmbeddedFonts As Boolean
Get
Set
public:
property bool ExportEmbeddedFonts {
bool get ();
void set (bool value);
}member ExportEmbeddedFonts : bool with get, set
Property Value
Type:
Boolean
ExamplesShows how to export embedded objects into HTML file.
Document doc = DocumentHelper.CreateDocumentFillWithDummyText();
HtmlFixedSaveOptions htmlFixedSaveOptions = new HtmlFixedSaveOptions
{
ExportEmbeddedCss = true,
ExportEmbeddedFonts = true,
ExportEmbeddedImages = true,
ExportEmbeddedSvg = true
};
doc.Save(ArtifactsDir + "HtmlFixedSaveOptions.ExportEmbeddedObjects.html", htmlFixedSaveOptions);
See Also