Leadtools.Pdf Namespace > PDFDocument Class : IsEncrypted Property |
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();
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.
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