public void SaveHtmlExportFonts()
{
Document doc = new Document(MyDir + "Document.doc");
// Set the option to export font resources.
HtmlSaveOptions options = new HtmlSaveOptions(SaveFormat.Mhtml);
options.ExportFontResources = true;
// Create and pass the object which implements the handler methods.
options.FontSavingCallback = new HandleFontSaving();
doc.Save(MyDir + @"\Artifacts\Document.SaveWithFontsExport.html", options);
}