Skip to main content

HtmlExportOptionsBase.CharacterSet Property

Gets or sets the encoding name used when exporting a document to HTML.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v22.2.Core.dll

NuGet Packages: DevExpress.Printing.Core, DevExpress.Win.Dashboard.Design


public string CharacterSet { get; set; }

Property Value

Type Default Description
String "utf-8"

A String representing the encoding name set in the HTML file (e.g. “UTF-8”).

Property Paths

You can access this nested property as listed below:

Library Object Type Path to CharacterSet
Cross-Platform Class Library ExportOptions
WPF Controls ExportOptionsContainer


Use the CharacterSet property to specify the encoding name set before exporting a document to HTML.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CharacterSet property.


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