password Property


The password to use if the document is encrypted.


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.


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.


For an example, refer to DocumentFactory.LoadFromUri.


Target Platforms

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

Leadtools.Documents Assembly