←Select platform

UserPassword Property

Summary

Gets or sets the user password to use when saving encrypted files.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public string UserPassword { get; set; } 
Public Property UserPassword As String 
public string UserPassword {get; set;} 
@property (nonatomic, copy, nullable) NSString *userPassword 
public String getUserPassword() 
public void setUserPassword(String value) 
             
 <br/>get_UserPassword();<br/>set_UserPassword(value);<br/>Object.defineProperty('UserPassword');  
public: 
property String^ UserPassword { 
   String^ get(); 
   void set (    String^ ); 
} 

Property Value

The user password to use when saving encrypted files.

Remarks

This should be provided to protect the document from being opened/read.

Example

For an example, refer to CodecsPdfOptions.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly