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

Document.Paste(DocumentFormat) Method

Inserts the contents of the Clipboard in the specified format at the caret position.

Namespace: DevExpress.XtraRichEdit.API.Native

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


void Paste(
    DocumentFormat format
Sub Paste(
    format As DocumentFormat


Name Type Description
format DocumentFormat

A DocumentFormat enumeration member, specifying the format of the inserted text.



The Paste method executes a UI command and is in effect only for RichEditControl (WinForms and WPF). Use the SubDocument.AppendDocumentContent or SubDocument.InsertDocumentContent method to insert text in code.

See Also