DS Server

Javascript: DocumentPermissions.allowCopy Property

Property|Introduced in 25.0

Description

Specifies whether document content can be copied to the clipboard.

Syntax

<boolean> DocumentPermissions.allowCopy

Examples

The following example demonstrates DocumentPermissions.allowCopy in a practical document-editing workflow. It specifies whether document content can be copied to the clipboard.

const allowCopy = TXTextControl.documentPermissions.allowCopy;
console.log("allow copy:", allowCopy);