Replaces the current selection in the Text Control with the contents of the Clipboard. Only data provided in the specified format is inserted. This method can be used to change the default behaviour, if the clipboard contains the data in more than one format. By default, TXTextControl inserts data from the clipboard in the following order: textframe, formatted image, formatted text (TXTextControl format), formatted text (RTF format), formatted text (HTML format), plain text, image, OLE object.
Introduced: 21.0.
TXTextControl.Paste Format
Parameter | Description | ||||||||||||||||||||||||||||
Format |
Specifies the format to insert. It must be one of the values contained in the array returned through the ClipboardFormats property. It can be one of the following Values:
|
The return value is true, if something has been pasted. Otherwise, it is false.
Format: | Integer |
Return value: | Boolean |
<< TXTextControl.PageNumberDialog Method | >> TXTextControl.TableInsertLines Method