←Select platform

Password Property (LoadDocumentOptions)

Summary

The password to use if the document is encrypted.

Syntax

C#
VB
Java
C++
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 Documents Library.

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

Example

For an example, refer to DocumentFactory.LoadFromFile or DocumentFactory.LoadFromUri.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Documents Assembly
Click or drag to resize