Skip to main content
A newer version of this page is available. .

HtmlDocumentExporterOptions.ExportRootTag Property

Gets or sets the root tag of the HTML document to start the export.

Namespace: DevExpress.XtraRichEdit.Export

Assembly: DevExpress.RichEdit.v18.2.Core.dll

Declaration

public ExportRootTag ExportRootTag { get; set; }

Property Value

Type Description
ExportRootTag

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.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to ExportRootTag
WinForms Controls RichTextEditDocumentExportOptions
.Mht.ExportRootTag
Office File API RichEditDocumentExportOptions
.Mht.ExportRootTag

Remarks

Specify the ExportRootTag and the HtmlDocumentExporterOptions.CssPropertiesExportType settings to perform the export to HTML, via the HtmlExporterBase.Export method.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ExportRootTag property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also