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

TextExportOptionsBase.Encoding Property

Gets or sets the encoding of the text-based file to which a report is exported.

Namespace: DevExpress.XtraPrinting

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

Declaration

public Encoding Encoding { get; set; }

Property Value

Type Description
Encoding

A Encoding class descendant specifying the encoding of the text-based file.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to Encoding
Cross-Platform Class Library ExportOptions
.Csv.Encoding
WPF Controls ExportOptionsContainer
.Csv.Encoding

Remarks

Use this property to specify the encoding type (for instance, ASCII or UTF8) of the created text-based file. For more information on different encoding types available in .NET framework, please refer to the Encoding topic in MSDN.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Encoding 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