Javascript: TXTextControl.clipboardMode Property
Description
Gets or sets the clipboard mode (client or server). The clipboard mode determines if the key combinations Ctrl+C, Ctrl+V and Ctrl+X copy to and from the client clipboard or if content is copied to and from the server clipboard. Possible values for this property are defined in the enumeration ClipboardMode.
Syntax
<ClipboardMode> TXTextControl.clipboardModeExamples
The following example demonstrates TXTextControl.clipboardMode in a practical document-editing workflow. It gets or sets the clipboard mode (client or server). The clipboard mode determines if the key combinations Ctrl+C, Ctrl+V and Ctrl+X copy to and from the client clipboard or if content is copied to and from the server clipboard. Possible values for this property are defined in the enumeration ClipboardMode.
const clipboardMode = tXTextControl.clipboardMode;
console.log("clipboard mode:", clipboardMode);