HtmlDocumentImporterOptions.AutoDetectEncoding Property
Gets or sets whether the auto-detection of the charset of the html file is enabled.
Namespace: DevExpress.XtraRichEdit.Import
Assembly: DevExpress.RichEdit.v19.1.Core.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | **true** | true to enable the auto-detect option; 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
If the AutoDetectEncoding option is switched on, an explicit encoding specification, which can be set using the HtmlDocumentImporterOptions.Encoding property or by the <meta> tag of the loaded HTML page, is not required. Instead, the correct encoding is determined automatically and the document is loaded using the detected encoding.
See Also