password Property

Summary

The password to use if the document is encrypted.

Syntax
TypeScript
JavaScript
Object.defineProperty(LoadDocumentOptions.prototype, 'password', 
   get: function(), 
   set: function(value) 
) 
password: string; 

Property Value

The password to use if the document is encrypted. Default value is null.

Remarks

Some documents such as PDF can be encrypted and required a password before it can be parsed. You can set the password here or call Decrypt after the document is created. For more information, refer to Loading Encrypted Files Using the Document Library.

Refer to Loading Documents using Leadtools.Document for detailed information.

Example

For an example, refer to DocumentFactory.LoadFromUri.

Requirements
Target Platforms
Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.