Contents
- Index
- Previous
- Next
CopyToClipboard method
Declaration
function CopyToClipboard: Boolean;
Description
Copies the selection to the Windows Clipboard.
The method places two forms of the selected text on the Windows Clipboard. One form (CF_HTML) includes all HTML formatting instructions. The other (CF_TEXT) contains only the plain text, with all HTML tags removed.
Returns True if the selection was copied. Returns False on failure, if there is no selection, or the selection consists of text in a password control.