Javascript: DocumentPermissions.readOnly Property
Description
Gets or sets a value specifying whether the document is read only.
Syntax
<boolean> DocumentPermissions.readOnlyExamples
The following example demonstrates DocumentPermissions.readOnly in a practical document-editing workflow. It gets or sets a value specifying whether the document is read only.
const readOnly = TXTextControl.documentPermissions.readOnly;
console.log("read only:", readOnly);