Prevent Exporting Hidden Worksheet Contents on Saving to HTML
Contents
[
Hide
]
You can save Excel workbooks to HTML. However, if the workbook contains hidden worksheets, Aspose.Cells by default exports the hidden worksheet contents to the HTML output (_files) directory which contains files such as worksheets, images, tabstrip.htm, stylesheet.css, etc. Sometimes, exporting the content of the hidden worksheets this way isn’t appropriate. For example, if the hidden worksheet contains images that should not be exported to the _files directory.
Aspose.Cells provides the HtmlSaveOptions.ExportHiddenWorksheet property. By default, the ExportHiddenWorksheet property is set to true. If you set it to false, then Aspose.Cells will not export hidden worksheet contents.
Other than controlling whether to export hidden worksheets or not, you may also configure additional settings for exporting workbook to HTML. The following articles demonstrate other features supported by Aspose.Cells for exporting workbooks to HTML.