Skip to main content

DXRichEditMhtDocumentExporterOptions.ExportImageSize Property

Gets or sets how the current image size is preserved in the resulting MHT output. This is a dependency property.

Namespace: DevExpress.Xpf.RichEdit

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

NuGet Package: DevExpress.Wpf.RichEdit

Declaration

public ExportImageSize ExportImageSize { get; set; }

Property Value

Type Description
ExportImageSize

A ExportImageSize enumeration value.

Available values:

Name Description
Auto

Default behavior.

Always

Always specify an image size identical to the size of an image in the document layout.

Property Paths

You can access this nested property as listed below:

Object Type Path to ExportImageSize
DXRichEditDocumentExportOptions
.MhtOptions .ExportImageSize

Remarks

To save current image dimensions as image attributes in the exported MHT file, set the ExportImageSize option to the ExportImageSize.Always.

See Also