←Select platform

Password Property

Summary

The password to use if the document is encrypted.

Syntax
C#
VB
C++
Java
public string Password { get; set; } 
Public Property Password() As String 
   Get 
   Set 
public:  
   property String^ Password 
   { 
      String^ get() 
      void set(String^ value) 
   } 
public String getPassword() 
public void setPassword(String value) 

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.LoadFromFile or 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.