Skip to main content

DXRichEditHtmlDocumentExporterOptions.KeepExternalImageSize Property

Gets or sets whether to fix incorrect export of images in metafile formats. This is a dependency property.

Namespace: DevExpress.Xpf.RichEdit

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

NuGet Package: DevExpress.Wpf.RichEdit

Declaration

public bool KeepExternalImageSize { get; set; }

Property Value

Type Description
Boolean

true, to export an image in its original size; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to KeepExternalImageSize
DXRichEditDocumentExportOptions
.HtmlOptions .KeepExternalImageSize

Remarks

When resizing an image whose original format is metafile, GDI+ may render it incorrectly. To resolve the issue, set the KeepExternalImageSize option to true to maintain the original picture size when the document is exported in HTML format.

See Also