Back to Devexpress

PasteMode Enum

officefileapi-devexpress-dot-xtrarichedit-5c8a9be3.md

latest1.6 KB
Original Source

PasteMode Enum

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

Declaration

csharp
public enum PasteMode
vb
Public Enum PasteMode

Members

NameDescription
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:

LibraryRelated API Members
WPF ControlsDXRichEditCopyPasteOptions.PasteUnstyledRtfMode
Office File APICopyPasteOptions.PasteUnstyledRtfMode

Remarks

This enumeration is used to specify the CopyPasteOptions.PasteUnstyledRtfMode property value.

See Also

DevExpress.XtraRichEdit Namespace