←Select platform

UserPassword Property

Summary

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

Syntax
C#
VB
Objective-C
C++
Java
public string UserPassword { get; set; } 
Public Property UserPassword As String 
@property (nonatomic, copy, nullable) NSString *userPassword 
public String getUserPassword() 
public void setUserPassword(String value) 
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 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly