Hi,
I have tested by converting your template file to MHtml file format and it works fine. See the following sample code and find attached the output .mhtml file for your reference:
e.g
Sample code:
var wb = new Workbook(“e:\test2\GLOSSARI IQTRANSLATE.xlsx”);
var options = new HtmlSaveOptions(SaveFormat.MHtml)
{
ExportImagesAsBase64 = true,
};
var stream = new MemoryStream();
wb.Save(stream, options);
string filename = "e:\\test2\\out1.mhtml";
FileStream fstream = new System.IO.FileStream(filename, FileMode.OpenOrCreate);
stream.Position = 0;
byte[] data = stream.ToArray();
fstream.Write(data, 0, data.Length);
And, I am afraid, as I told you in my previous reply that you cannot save to stream having a complete workbook (containing all the worksheets in it) to a single HTML file, you got to save only one worksheet to stream, so you may create separate HTML file for each worksheet in the workbook.
Thank you.