Skip to main content

DataFormatOptions.HtmlImageSourceType Property

Specifies how images are included in the copied HTML content.

Namespace: DevExpress.XtraRichEdit

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

NuGet Package: DevExpress.RichEdit.Core

Declaration

[DefaultValue(HtmlImageSourceType.Linked)]
public HtmlImageSourceType HtmlImageSourceType { get; set; }

Property Value

Type Default Description
HtmlImageSourceType Linked

A HtmlImageSourceType enumeration member that determines whether images are linked or embedded in HTML content.

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
RichEditControlOptionsBase
.ClipboardFormats .HtmlImageSourceType

Remarks

The HtmlImageSourceType is in effect when the DataFormatOptions.Html option is Enabled or CopyOnly.

If the HtmlImageSourceType is set to Linked, use the DataFormatOptions.HtmlImagePath property to specify the path for storing linked images.

See Also