←Select platform

IsEncrypted Property

Summary

Gets a value that indicates whether this PDF document is encrypted.

Syntax
C#
VB
C++
Java
public bool IsEncrypted { get; } 
Public ReadOnly Property IsEncrypted As Boolean 
public boolean isEncrypted() 
public: 
property bool IsEncrypted { 
   bool get(); 
} 

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

Leadtools.Pdf Assembly