Leadtools.Forms.DocumentWriters Namespace > PdfDocumentOptions Class : UserPassword Property |
public string UserPassword {get; set;}
'Declaration Public Property UserPassword As String
'Usage Dim instance As PdfDocumentOptions Dim value As String instance.UserPassword = value value = instance.UserPassword
public string UserPassword {get; set;}
get_UserPassword();
set_UserPassword(value);
The user password is used by PDF viewers to grant or deny viewing the PDF document. For more information, refer to the Protected property.
The UserPassword property is only used when the Protected property is set to true.
Important: UserPassword and OwnerPassword will internally be converted to an ASCII string due to the specifications of the PDF format.
Note that UserPassword is not supported when DocumentType is PdfDocumentType.PdfA.
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