Pastes document from the Clipboard.
procedure Paste;
First, it generates OnPaste event, allowing the programmer to insert data in custom format.
If DoDefault parameter of OnPaste was set to False, Paste finishes.
The method takes AcceptPasteFormats property into account: it tries to paste the specific format only if it is included in the property.
The method tries to paste as RVF, see PasteRVF.
If unsuccessful, it tries to paste as RTF, see PasteRTF.
If unsuccessful, it tries to paste as HTML, see PasteRTF.
If unsuccessful, it tries to paste as an URL, see PasteURL.
If unsuccessful, it tries to paste as text, see PasteTextW.
If unsuccessful, it tries to paste image files, see PasteGraphicFile (if rvoAssignImageFileNames in Options, file name is is stored in rvespImageFileName extra string property; you can modify this file name in OnAssignImageFileName event).
If unsuccessful, it tries to paste as a bitmap, see PasteBitmap.
If unsuccessful, it tries to paste as a metafile picture, see PasteMetafile.
This method is executed automatically when user presses Ctrl + V ( Command + V on macOS) or Shift + Insert .
Method type: editing-style method for insertion.
See also methods:
▪CanPaste.
See also: