Specifies whether the Clipboard contains data that the object supports.
Syntax
object.CanPaste
The CanPaste property syntax has these parts:
Part | Description |
---|---|
object | Required. A valid object. |
Return Values
The CanPaste property return values are:
Value | Description |
---|---|
True | The object underneath the mouse pointer can receive information pasted from the Clipboard (default). |
False | The object underneath the mouse pointer cannot receive information pasted from the Clipboard. |
Remarks
CanPaste is read-only.
If the Clipboard data is in a format that the current target object does not support, the CanPaste property is False. For example, if you try to paste a bitmap into an object that only supports text, CanPaste will be False.