Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

HtmlDocumentExporterOptions.ExportImageSize Property

Gets or sets how the current image size is preserved in the resulting HTML output.

Namespace: DevExpress.XtraRichEdit.Export

Assembly: DevExpress.RichEdit.v24.2.Core.dll

NuGet Package: DevExpress.RichEdit.Core

#Declaration

public ExportImageSize ExportImageSize { get; set; }

#Property Value

Type Description
ExportImageSize

An 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
RichEditDocumentExportOptions
.Html .ExportImageSize

#Remarks

You can save current image dimensions as image attributes in the exported HTML file. To do so, set the ExportImageSize option to the ExportImageSize.Always value.

See Also