Back to Devexpress

DXRichEditHtmlDocumentExporterOptions.KeepExternalImageSize Property

wpf-devexpress-dot-xpf-dot-richedit-dot-dxrichedithtmldocumentexporteroptions-3625ff13.md

latest1.9 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.RichEdit

Declaration

csharp
public bool KeepExternalImageSize { get; set; }
vb
Public Property KeepExternalImageSize As Boolean

Property Value

TypeDescription
Boolean

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

|

Property Paths

You can access this nested property as listed below:

Object TypePath 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

DXRichEditHtmlDocumentExporterOptions Class

DXRichEditHtmlDocumentExporterOptions Members

DevExpress.Xpf.RichEdit Namespace