Saving Aspose Workbook as HTML file

Hi

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?

Thanks

Ashok

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.

e.g

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

For further reference about FileFormatType enumeration, please check:

http://www.aspose.com/documentation/file-format-components/aspose.cells-for-.net-and-java/saving-files.html

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

Thank you.

Hi,

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 4.4.0.5.

Hi,

Thank you for considering Aspose.

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

Thank You & Best Regards,