Table of contents
TOC
Collapse the table of content
Expand the table of content

CanPaste Property

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Specifies whether the Clipboard contains data that the object supports. Syntaxobject. CanPaste The CanPaste property syntax has these parts:

PartDescription
objectRequired. A valid object.

Return Values The CanPaste property return values are:

ValueDescription
TrueThe object underneath the mouse pointer can receive information pasted from the Clipboard (default).
FalseThe object underneath the mouse pointer cannot receive information pasted from the Clipboard.

RemarksCanPaste is read-only. If the Clipboard data is in a format that the currenttarget 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.

© 2018 Microsoft