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
public string Password {get;}
get_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.
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