←Select platform

Password Property

Summary
Gets the password used to decrypt this PDFDocument.
Syntax
C#
C++/CLI
Java
Python
public string Password { get; } 
public java.lang.String getPassword(); 
public: 
property String^ Password { 
   String^ get(); 
} 
Password # get  (PDFDocument) 

Property Value

A System.String that contains the password used to decrypt this PDFDocument. The default value is null.

Remarks

FileName and Password will contain the same exact values passed to the PDFDocument(string fileName) and PDFDocument(string fileName, string password) constructors, if any.

If the value of IsEncrypted is false, then the PDF document is not encrypted and a Password was not used when loading the document.

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.Pdf Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.