DataFormatOptions.AllowHtml Property
Gets or sets whether the copied document range is available for pasting in HTML format.
Namespace: DevExpress.XtraRichEdit
Assembly: DevExpress.RichEdit.v18.2.Core.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | **false** | True, to allow HTML format for the content copied to the Clipboard; otherwise, false. |
Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to AllowHtml |
---|---|---|
WinForms Controls | SnapControlOptions |
|
RichEditControlOptions |
|
|
WPF Controls | RichEditControlOptions |
|
Office File API | RichEditControlOptionsBase |
|
Remarks
Set the AllowHtml property to true to allow HTML content in the Clipboard. Certain applications require pasting with HTML format for inserting images. Use the DataFormatOptions.HtmlImageSourceType property to specify whether images are encoded and embedded in HTML markup or extracted as files to the DataFormatOptions.HtmlImagePath location.
See Also