Javascript: TXTextControl.DocumentAccessPermissions Enumeration
Description
Specifies how a document can be accessed after it has been opened.
Members
| Member | Description |
|---|---|
| None | Allows none of the possible permissions. |
| AllowAuthoring | Allows authoring comments and fill in interactive form fields (including signature fields). |
| AllowAuthoringFields | Fill-in existing interactive form fields (including signature fields) is allowed. |
| AllowContentAccessibility | Allows content access for the visually impaired only. |
| AllowDocumentAssembly | Allows to assemble the document (insert, rotate or delete pages and create bookmarks or thumbnails). |
| AllowExtractContents | Copying or otherwise extracting text and/or graphics is allowed. |
| AllowGeneralEditing | Allows modifying the document's contents. |
| AllowHighLevelPrinting | Printing the document is fully allowed. |
| AllowLowLevelPrinting | Printing the document is allowed (low-level). |
| AllowAll | Allows all of the possible permissions. |
Examples
The following example uses TXTextControl.DocumentAccessPermissions.AllowAuthoring (allows authoring comments and fill in interactive form fields (including signature fields).) in a document-editing workflow.
const value = TXTextControl.DocumentAccessPermissions.AllowAuthoring;
console.log("Allows authoring comments and fill in interactive form fields (including signature fields).", value);