Skip to main content

DXRichEditHtmlDocumentImporterOptions.IgnoreMetaCharset Property

Gets or sets whether to ignore the character encoding specified in the META element. This is a dependency property.

Namespace: DevExpress.Xpf.RichEdit

Assembly: DevExpress.Xpf.RichEdit.v24.1.dll

NuGet Package: DevExpress.Wpf.RichEdit

Declaration

public bool IgnoreMetaCharset { get; set; }

Property Value

Type Description
Boolean

true, to ignore character encoding in the META element; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to IgnoreMetaCharset
DXRichEditDocumentImportOptions
.HtmlOptions .IgnoreMetaCharset

Remarks

You can specify encoding for HTML import explicitly using the HtmlDocumentImporterOptions.Encoding property.

When the HTML document is imported from the stream, the encoding of the stream can be different from the encoding specified in the META tag. If this is the case, you should ignore the META declaration to display text correctly.

See Also