.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

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.v21.2.Core.dll

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:

Library Object Type Path to HtmlImagePath
WinForms Controls SnapControlOptions
.ClipboardFormats.HtmlImagePath
RichEditControlOptions
.ClipboardFormats.HtmlImagePath
WPF Controls RichEditControlOptions
.ClipboardFormats.HtmlImagePath
Office File API 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