TX Text Control .NET Server

Javascript: TXTextControl.SaveSettings.documentAccessPermissions Property

Property|Introduced in 28.0

Description

Specifies how a document can be accessed after it has been opened.

Syntax

<DocumentAccessPermissions> TXTextControl.SaveSettings.documentAccessPermissions

Examples

The following example demonstrates TXTextControl.SaveSettings.documentAccessPermissions in a practical document-editing workflow. It specifies how a document can be accessed after it has been opened.

function inspectDocumentAccessPermissions(saveSettings) {
    const documentAccessPermissions = saveSettings.documentAccessPermissions;
    console.log("document access permissions:", documentAccessPermissions);
}