Skip to main content

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.v24.1.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

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