HtmlDocumentExporterOptions.ExportRootTag Property
Gets or sets the root tag of the HTML document to start the export.
Namespace: DevExpress.XtraSpreadsheet.Export
Assembly: DevExpress.Spreadsheet.v24.2.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
Declaration
Property Value
Type | Default | Description |
---|---|---|
ExportRootTag | Html | An ExportRootTag enumeration value specifying the HTML document tag. |
Available values:
Name | Description |
---|---|
Html | Specifies the <HTML> tag as the root tag for export. |
Body | Specifies the <BODY> tag as the root tag for export. |
Remarks
Specify the ExportRootTag and the HtmlDocumentExporterOptions.CssPropertiesExportType settings to perform the export to HTML by using the IWorkbook.ExportToHtml method.
See Also