Export Document Workbook and Worksheet Properties in Excel to HTML conversion
Contents
[
Hide
]
Possible Usage Scenarios
When Microsoft Excel file is exported to HTML using Microsoft Excel or Aspose.Cells, it also exports various types of Document, Workbook and Worksheet properties as shown in the following screenshot. You can avoid exporting these properties by setting the HtmlSaveOptions.ExportDocumentProperties, HtmlSaveOptions.ExportWorkbookProperties and HtmlSaveOptions.ExportWorksheetProperties as false. The default value of these properties is true. The following screenshot shows how these properties look like in exported HTML.
Export Document, Workbook and Worksheet Properties in Excel to HTML conversion
The following sample code loads the sample Excel file and converts it to HTML and does not export the Document, Workbook and Worksheet properties in output HTML.
Sample Code