Skip to main content

DXRichEditMhtDocumentImporterOptions.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.v21.2.dll

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
.MhtOptions.IgnoreMetaCharset

Remarks

You can specify encoding for MHT import explicitly using the DXRichEditMhtDocumentImporterOptions.Encoding property.

When the MHT 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