Gets a value that indicates whether this PDF document is encrypted.
public bool IsEncrypted { get; }
Public ReadOnly Property IsEncrypted As Boolean
public boolean isEncrypted()
public:
property bool IsEncrypted {
bool get();
}
true if this PDF document is encrypted and a password is necessary to open it; otherwise, it is false. The default value is false.
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.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document