Accusoft.PdfXpress7.Net
UserPassword Property




A password that permits a user to open an encrypted document. Supplying the correct password enables the user to open the document, decrypt it, and display it on screen.
Syntax
'Declaration
 
Public Property UserPassword As String
'Usage
 
Dim instance As Security
Dim value As String
 
instance.UserPassword = value
 
value = instance.UserPassword
public string UserPassword {get; set;}
public: __property string* get_UserPassword();
public: __property void set_UserPassword( 
   string* value
);
public:
property String^ UserPassword {
   String^ get();
   void set (    String^ value);
}
Exceptions
ExceptionDescription
PdfXpressException Security has been already been removed or editing Security is not permitted.
System.ArgumentException The user password was set to null.
Remarks
Setting the user password to an Empty String changes the document's security so a user password is no longer in use.
See Also

Reference

Security Class
Security Members

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback