Saving Aspose Workbook as HTML file


I am working on a .NET 3.5 application. I am binding values to the Aspose workbook from my dataset. I am inserting a picture also in the workbook.

I want to save this as a HTML file.

How to save Aspose workbook as a HTML file?



Hi Ashok,

Thanks for your inquiry.

Well, you can use FileFormatType.Html enumeration value to save a workbook to html format. And, yes, the images also get rendered in the output html report.


workbook.Save(@"c:\files\MyWorkbook.html", FileFormatType.Html);

For further reference about FileFormatType enumeration, please check:

Feel free to contact us any time if you need further help.

Thank you.


I dont see FileFormatType.Html property in my aspose.cells. Could you please let me know in which version we can have these options. I am using Aspose.Cells dll


Thank you for considering Aspose.

Please try the attached latest version of Aspose.Cells. It supports FileFormatType.Html.

Thank You & Best Regards,