DXRichEditMhtDocumentExporterOptions.KeepExternalImageSize Property
Fixes incorrect export of images in metafile formats. This is a dependency property.
Namespace: DevExpress.Xpf.RichEdit
Assembly: DevExpress.Xpf.RichEdit.v24.1.dll
NuGet Package: DevExpress.Wpf.RichEdit
Declaration
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 |
|
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 MHT format.
See Also