Leadtools.Pdf Namespace > PDFDocument Class : Password Property |
public string Password {get;}
'Declaration Public ReadOnly Property Password As String
'Usage Dim instance As PDFDocument Dim value As String value = instance.Password
FileName and Password will contain the same exact values passed to the PDFDocument(string fileName) and PDFDocument(string fileName, string password) constructors if any.
If the value of IsEncrypted is false, then the PDF document is not encrypted and Password was not used when loading the document.