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.1.Core.dll
NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation
Declaration
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.