Skip to main content

DataFormatOptions.HtmlImageSourceType Property

Specifies how images are included in the copied HTML content.

Namespace: DevExpress.XtraRichEdit

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

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

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