TX Text Control .NET Server

Javascript: TXTextControl.LoadSettings.userPassword Property

Property|Introduced in 28.0

Description

Specifies the password for the user to open a password protected document.

Syntax

<string> TXTextControl.LoadSettings.userPassword

Examples

The following example demonstrates TXTextControl.LoadSettings.userPassword in a practical document-editing workflow. It specifies the password for the user to open a password protected document.

function inspectUserPassword(loadSettings) {
    const userPassword = loadSettings.userPassword;
    console.log("user password:", userPassword);
}