LEADTOOLS PDF (Leadtools.Pdf assembly)
LEAD Technologies, Inc

IsEncrypted Property






Gets a value that indicate whether this PDF document is encrypted.
Syntax
public bool IsEncrypted {get;}
'Declaration
 
Public ReadOnly Property IsEncrypted As Boolean
'Usage
 
Dim instance As PDFDocument
Dim value As Boolean
 
value = instance.IsEncrypted
public bool IsEncrypted {get;}
 get_IsEncrypted(); 
public:
property bool IsEncrypted {
   bool get();
}

Property Value

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

LEADTOOLS can open encrypted PDF documents. Simply, use the PDFDocument(string fileName, string password) constructor to open such documents. You can use the PDFFile.IsEncrypted method to check if a document is encrypted and requires a password.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PDFDocument Class
PDFDocument Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.