PlainTextDocumentImporterOptions.AutoDetectEncoding Property
Gets or sets whether the auto-detection of the loaded text encoding is enabled.
Namespace: DevExpress.XtraRichEdit.Import
Assembly: DevExpress.RichEdit.v20.2.Core.dll
NuGet Package: DevExpress.RichEdit.Core
NuGet Packages: DevExpress.RichEdit.Core, DevExpress.WindowsDesktop.RichEdit.Core
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | **true** | true to switch the encoding autodetection on; otherwise, false. |
Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to AutoDetectEncoding |
---|---|---|
WinForms Controls | RichTextEditDocumentImportOptions |
|
Office File API | RichEditDocumentImportOptions |
|
Remarks
This option is switched on by default, the correct encoding is determined automatically and the document is loaded using the corresponding charset. You can specify the encoding explicitly if required, using the PlainTextDocumentImporterOptions.Encoding property.