Skip to main content

DataFormatOptions.HtmlImagePath Property

Gets or sets a path to the image files linked as pictures in the copied document content.

Namespace: DevExpress.XtraRichEdit

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

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

Declaration

[DefaultValue("")]
public string HtmlImagePath { get; set; }

Property Value

Type Default Description
String String.Empty

A string that is the valid file path.

Property Paths

You can access this nested property as listed below:

Object Type Path to HtmlImagePath
RichEditControlOptionsBase
.ClipboardFormats .HtmlImagePath

Remarks

If the DataFormatOptions.Html options is set to Enabled or CopyOnly, and the DataFormatOptions.HtmlImageSourceType is set to Linked value, the images contained in the copied text are extracted to the path specified by the HtmlImagePath property. Each image file gets a unique name with a trailing sequential number. Links to these images are included in clipboard’s HTML content.

Note

If the specified path does not exist, it is created. A pathname should contain a trailing slash.

See Also