ImageEn, unit iexRichEdit

TIERichEdit.PasteSpecialDialog

TIERichEdit.PasteSpecialDialog


Declaration

function PasteSpecialDialog(): Boolean;


Description

Display the "Paste Special" dialog, which allows the user to select the format of the clipboard object to be pasted.
Returns true if the dialog could be displayed and the user pressed the OK button, otherwise returns false.

The following formats are supported:
Embedded Object.
Linked Object
Rich Text Format (RTF)
Unformatted Text
Windows Bitmap

With applications that support OLE, the user can initiate the transfer from either the server or the container. For example, the server can copy data to the clipboard in the server application, then switch to the container application and use "Paste Special" to create a new embedded object from the selected data.

Note:
Method will fail if AllowObjects = False
Check CanPaste to determine whether pasting is possible


Example

IERichEdit1.PasteSpecialDialog();