password Property

Summary

The password to use if the document is encrypted.

Syntax

JavaScript Syntax
Object.defineProperty(LoadDocumentOptions.prototype, 'password', 
	get: function(), 
	set: function(value) 
) 
TypeScript Syntax
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 Documents Library.

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

Example

For an example, refer to DocumentFactory.LoadFromUri.

Requirements

Target Platforms

Help Version 19.0.2017.10.18
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents Assembly