CopySelectedText

 

Description

 

Copies selected text to the clipboard.

 

Arguments

 

None.

 

Return Value

 

Long Integer: the number of characters copied to the clipboard.

 

Remarks

 

If no text is selected, the clipboard contents are unchanged.

 

Use the SelectText method to programmatically select a range of text.

 

The TextCopyMode property determines how line-breaks are handled by CopySelectedText.