ITextDocument.CanPaste Method

Definition

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.

Applies to

See also