Limitations
PDF only. The encryption key length is 128 bits.
Specifies the password for the user to open a password protected document. When the password is invalid or not specified, an exception is thrown.
Introduced: X14.
public string UserPassword { get; set; }
Public Property UserPassword() As String
This example shows a simple variant of how to use the 'TXText
TXTextControl.LoadSettings ls = new TXTextControl.LoadSettings();
//...
ls.UserPassword = "12345";
//...
Dim ls As TXTextControl.LoadSettings = New TXTextControl.LoadSettings()
'...
ls.UserPassword = "12345"
'...
PDF only. The encryption key length is 128 bits.