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

DXRichEditDataFormatOptions.HtmlImageSourceType Property

Specifies how images are included in the copied HTML content.

Namespace: DevExpress.Xpf.RichEdit

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

NuGet Package: DevExpress.Wpf.RichEdit

#Declaration

public HtmlImageSourceType HtmlImageSourceType { get; set; }

#Property Value

Type Description
HtmlImageSourceType

A DevExpress.XtraRichEdit.HtmlImageSourceType enumeration member that determines whether images are linked or embedded in HTML content. The default is HtmlImageSourceType.Linked.

Available values:

Name Description
Linked

A linked image.

Embedded

An embedded image.

#Property Paths

You can access this nested property as listed below:

Object Type Path to HtmlImageSourceType
RichEditControl
.ClipboardFormatOptions .HtmlImageSourceType

#Remarks

The HtmlImageSourceType is in effect when the DevExpress.XtraRichEdit.DataFormatOptions.Html option is set to Enabled or CopyOnly.

If the HtmlImageSourceType is set to HtmlImageSourceType.Linked, the path for storing linked images is determined by the HtmlImagePath property.

See Also