←Select platform

IsEncrypted Property

Summary

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

Syntax

C#
VB
Java
C++
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Pdf Assembly