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

HtmlExportOptionsBase.CharacterSet Property

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

Namespace: DevExpress.XtraPrinting

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

Declaration

[TypeConverter(typeof(CharSetConverter))]
[DefaultValue("utf-8")]
[XtraSerializableProperty]
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
.Html.CharacterSet
WPF Controls ExportOptionsContainer
.Html.CharacterSet

Remarks

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.

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