Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.22
|
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;}
@property (nonatomic, copy, nullable) NSString *userPassword
public String getUserPassword() public void setUserPassword(String userPassword)
<br/>get_UserPassword();<br/>set_UserPassword(value);<br/>Object.defineProperty('UserPassword');
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.