ImageEn, unit iexRichEdit |
|
TIERichEdit.PasteFromClipboard
Declaration
procedure PasteFromClipboard();
Description
Pastes the contents of the Clipboard into the control, replacing the current selection.
Use PasteFromClipboard to replace the selected text with the contents of the Clipboard, or, if no text is selected, to insert the contents of the Clipboard at the cursor. If the Clipboard is empty, or if it does not contain anything in CF_TEXT format, PasteFromClipboard does nothing.
Note:
◼Use
CanPaste to determine if there is content on the clipboard that can be pasted
◼Use
PasteAsPlainText to insert the text without formatting
◼Use
PasteSpecialDialog to provide pasting options
See Also
◼CutToClipboard
◼PasteFromClipboard