HtmlDocumentExporterOptions.ExportRootTag Property
In This Article
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
[DefaultValue(ExportRootTag.Html)]
public ExportRootTag ExportRootTag { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Export |
Html | An Export |
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