Programming with Reflection

image\rwnprg32.gif GetClipboardText method

 

Syntax Text = object.GetClipboardText

 

Description

Returns the text that is currently stored in the Windows Clipboard.

Return

Text Return type: String
The current Clipboard text. An empty string is returned if the Clipboard is empty or if it contains something other than text (such as a bitmap). Use the SetClipboardText method to copy text to the Clipboard.

Note: This method can return strings up to 32,767 characters long. Longer strings are truncated.

 

image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this command