←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 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.