←Select platform

UserPassword Property

Summary

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

Syntax

C#
VB
Java
Objective-C
C++
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.2018.6.21
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly