ITextDocument.CanPaste Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the Clipboard has content that can be pasted into the document.
public:
bool CanPaste();
bool CanPaste();
public bool CanPaste();
function canPaste()
Public Function CanPaste () As Boolean
Returns
Boolean
bool
True if the Clipboard has content that can be pasted into the document; otherwise false.
Remarks
Pasting is allowed unless the control is read-only or the selection is protected and the client refuses permission to paste.