←Select platform

IsEncrypted Property

Summary
Gets a value that indicates whether this PDF document is encrypted.
Syntax
C#
C++/CLI
Java
Python
public bool IsEncrypted { get; } 
public boolean isEncrypted(); 
public: 
property bool IsEncrypted { 
   bool get(); 
} 
IsEncrypted # get  (PDFDocument) 

Property Value

true if this PDF document is encrypted and a password is necessary to open it; otherwise, it is false. The default value is false.

Remarks

LEADTOOLS can open encrypted PDF documents by calling the PDFDocument(string fileName, string password) constructor to open such documents. Use the PDFFile.IsEncrypted method to determine whether a document is encrypted and requires a password.

Requirements

Target Platforms

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

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