Skip to main content

DXRichEditOpenXmlDocumentImporterOptions.IgnoreParseErrors Property

Gets or sets whether to ignore invalid constructions while parsing a file in OpenXML format. This is a dependency property.

Namespace: DevExpress.Xpf.RichEdit

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

NuGet Package: DevExpress.Wpf.RichEdit

Declaration

public bool IgnoreParseErrors { get; set; }

Property Value

Type Description
Boolean

true, to ignore errors while parsing a file; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to IgnoreParseErrors
DXRichEditDocumentImportOptions
.OpenXmlOptions .IgnoreParseErrors

Remarks

Apart from Microsoft Word, RichEditControl does not ignore errors in loaded file attributes or tags and rejects the document as invalid. To correct this behavior, set the IgnoreParseErrors property to true.

Important

With the IgnoreParseErrors property set to true, the document layout may be incorrect.

See Also