Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

ExportImageSize Enum

Lists options which specify how the image height and width are preserved in an exported HTML file.

Namespace: DevExpress.XtraRichEdit.Export.Html

Assembly: DevExpress.RichEdit.v19.1.Core.dll


public enum ExportImageSize


Name Description

Default behavior.


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

Related API Members

The following properties accept/return ExportImageSize values:

Library Related API Members
WPF Controls DXRichEditHtmlDocumentExporterOptions.ExportImageSize
Office File API HtmlDocumentExporterOptions.ExportImageSize


If the image size in the Rich Edit document (DocumentImage.Size) is not the same as the size of the original image (DocumentImage.OriginalSize) because the image has been resized, you can save current image dimensions as image attributes in the exported HTML file. To do so, set the HtmlDocumentExporterOptions.ExportImageSize option to the ExportImageSize.Always value.

See Also