I convert a xls file to mht format using codes below
var cells_lic = new Aspose.Cells.License();
cells_lic.SetLicense(“Aspose.Total.lic”);
var oBook = new Aspose.Cells.Workbook(@“c:\xx.xls”);
var hso = new Aspose.Cells.HtmlSaveOptions(Aspose.Cells.SaveFormat.MHtml);
oBook.Save(@“c:\xx.xls.mht”);
It’s all nice here, and the mht file could be open and viewed correctly.
but i want this mht file could be viewed by remote ie browser, now problems come, the css style in the mht file lost.
you can have a try.
It’s all nice here, and the mht file could be open and viewed correctly.
but i want this mht file could be viewed by remote ie browser, now problems come, the css style in the mht file lost.
you can have a try.