Skip to main content

HtmlDocumentExporterOptions.ExportRootTag Property

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

Namespace: DevExpress.XtraRichEdit.Export

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

NuGet Package: DevExpress.RichEdit.Core

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:

Object Type Path to ExportRootTag
RichEditDocumentExportOptions
.Html .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