Skip to main content

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.v24.2.Core.dll

NuGet Package: DevExpress.RichEdit.Core

Declaration

[ComVisible(true)]
public enum ExportImageSize

Members

Name Description
Auto

Default behavior.

Always

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
DXRichEditMhtDocumentExporterOptions.ExportImageSize
Office File API HtmlDocumentExporterOptions.ExportImageSize

Remarks

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