←Select platform

Password Property

Summary

Optional password to use with encrypted PDF files.

Syntax
C#
C++/CLI
Python
public string Password {get; set;} 
public:  
   property String^ Password 
   { 
      String^ get() 
      void set(String^ value) 
   } 
Password # get and set (UploadDocumentOptions) 

Property Value

The optional password to use with encrypted PDF files. The default value is null.

Remarks

During uploading of encrypted PDF files, the factory generally does not need to decrypt the file. This is left to later operations (when the document is loaded from the cache, for instance).

If the value of Password is not null, then it will be stored along with the document data in the cache, and subsequent calls to load the document from the cache will not require it.

When using PDF post-upload operations, the factory can interact with the PDF if DocumentFactory.EndUpload is called and the password is required (if the file is encrypted). Refer to Uploading Using the Document Library for more information.

Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

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