Informs whether a part of a Text Control document has been selected and can be copied to the clipboard. The value depends on whether the formatting is allowed and the currently set edit mode.

Introduced: X18.

<void> TXTextControl.getCanCopy(<RequestBooleanCallback> callback, [<ErrorCallback> errorCallback])

Parameters

Parameter Description
callback The callback function that receives the requested value.
errorCallback Optional. Is called when the operation failed with an error.