←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) 
             
  
get_UserPassword(); 
set_UserPassword(value); 
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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Codecs Assembly
Click or drag to resize