officefileapi-devexpress-dot-xtrarichedit-5c8a9be3.md
Lists modes characterizing how the formatting of the destination document is applied to the text being pasted.
Namespace : DevExpress.XtraRichEdit
Assembly : DevExpress.RichEdit.v25.2.Core.dll
NuGet Package : DevExpress.RichEdit.Core
public enum PasteMode
Public Enum PasteMode
| Name | Description |
|---|---|
KeepSourceFormatting |
Does not apply formatting of the destination document to the pasted text.
|
| UseDestinationStyles |
Applies the style characteristics of the surrounding text to the pasted text except for formatting specified in RTF of the text being pasted.
|
The following properties accept/return PasteMode values:
| Library | Related API Members |
|---|---|
| WPF Controls | DXRichEditCopyPasteOptions.PasteUnstyledRtfMode |
| Office File API | CopyPasteOptions.PasteUnstyledRtfMode |
This enumeration is used to specify the CopyPasteOptions.PasteUnstyledRtfMode property value.
See Also