Back to Devexpress

DXRichEditHtmlDocumentExporterOptions.ExportImageSize Property

wpf-devexpress-dot-xpf-dot-richedit-dot-dxrichedithtmldocumentexporteroptions-6bf6e09f.md

latest2.1 KB
Original Source

DXRichEditHtmlDocumentExporterOptions.ExportImageSize Property

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

Namespace : DevExpress.Xpf.RichEdit

Assembly : DevExpress.Xpf.RichEdit.v25.2.dll

NuGet Package : DevExpress.Wpf.RichEdit

Declaration

csharp
public ExportImageSize ExportImageSize { get; set; }
vb
Public Property ExportImageSize As ExportImageSize

Property Value

TypeDescription
ExportImageSize

A ExportImageSize enumeration value.

|

Available values:

NameDescription
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 TypePath to ExportImageSize
DXRichEditDocumentExportOptions

.HtmlOptions .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

DXRichEditHtmlDocumentExporterOptions Class

DXRichEditHtmlDocumentExporterOptions Members

DevExpress.Xpf.RichEdit Namespace