TdxRichEditControlBase.Paste Method
Inserts clipboard content at the caret position or replaces the current selection.
Declaration
procedure Paste;
Remarks
You can call Copy, Cut, and Paste
procedures to execute corresponding clipboard operations in the Rich Edit control if they are currently available.
Paste Operation Availability
A Paste
procedure call inserts clipboard content at the caret position or replaces the current selection with it when the following conditions are met:
- The ReadOnly property is set to
False
. - The Options.Behavior.Paste property is set to TdxDocumentCapability.Default or TdxDocumentCapability.Enabled.
- The clipboard contains a bitmap, a document floating object, or a text range.
Otherwise, a Paste
procedure call has no effect.
Related End-User Command
A Paste
procedure call produces the same effect as the Paste Selection command.
See Also