public void SaveHtmlExportImages()
{
Document doc = new Document(MyDir + "Document.doc");
// Create and pass the object which implements the handler methods.
HtmlSaveOptions options = new HtmlSaveOptions(SaveFormat.Html);
options.ImageSavingCallback = new HandleImageSaving();
doc.Save(MyDir + @"\Artifacts\Document.SaveWithCustomImagesExport.html", options);
}