Skip to main content

DXRichEditMhtDocumentImporterOptions.AsyncImageLoading Property

Gets or sets whether images are loaded synchronously or asynchronously when importing an MHT document. This is a dependency property.

Namespace: DevExpress.Xpf.RichEdit

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

NuGet Package: DevExpress.Wpf.RichEdit

Declaration

public bool AsyncImageLoading { get; set; }

Property Value

Type Description
Boolean

true to load images asynchronously; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to AsyncImageLoading
DXRichEditDocumentImportOptions
.MhtOptions .AsyncImageLoading

Remarks

When importing an MHT document, images are loaded asynchronously by default, and the RichEditControl.DocumentLoaded event may raise before images are loaded completely.

To ensure complete loading of external images and prevent certain operations from failing, set the AsyncImageLoading property to false.

See Also