←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 20.0.2018.1.18
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Pdf Assembly