Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

CsvDocumentImporterOptions.AutoDetectEncoding Property

Gets or sets whether the spreadsheet attempts to detect encoding of the text being imported.

Namespace: DevExpress.XtraSpreadsheet.Import

Assembly: DevExpress.Spreadsheet.v21.2.Core.dll

Declaration

[DefaultValue(true)]
public override bool AutoDetectEncoding { get; set; }

Property Value

Type Default Description
Boolean true

true, to detect the text encoding automatically; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to AutoDetectEncoding
WorkbookImportOptions
.Csv .AutoDetectEncoding

Remarks

Tip

Handle the BeforeEncodingDetection event to manage the encoding detection.

See Also