Contents - Index - Previous - Next


CutToClipboard method




Declaration
function CutToClipboard: Boolean;

Description

Copies the selection to the Windows Clipboard, then deletes it from the document.

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 on success. Returns False on failure, if there is no selection, or the selection consists of text in a password control.