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
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.