Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

IdxRichEditDocument.Paste(TdxRichEditDocumentFormat) Method

Inserts the clipboard content into the opened document.

#Declaration

Delphi
procedure Paste(const AFormat: TdxRichEditDocumentFormat); overload;

#Parameters

Name Type
AFormat TdxRichEditDocumentFormat

#Remarks

Call this procedure to either insert the clipboard content at the caret position or replace the current selection with the clipboard content. The second overloaded variant allows you to explicitly specify the document format applied to the pasted fragment.

The first overloaded variant works identically to the Rich Edit control’s Paste procedure. Alternatively, you can Executing a TdxRichEditControlPasteSelection action object to produce the same effect.

Note

The Paste procedure is not affected by the Rich Edit control’s Options.Behavior.Paste property value.

See Also