Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.17
UserPassword Property
See Also 
Leadtools.Codecs Namespace > CodecsPdfSaveOptions Class : UserPassword Property




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

Syntax

Visual Basic (Declaration) 
Public Property UserPassword As String
Visual Basic (Usage)Copy Code
Dim instance As CodecsPdfSaveOptions
Dim value As String
 
instance.UserPassword = value
 
value = instance.UserPassword
C# 
public string UserPassword {get; set;}
Managed Extensions for C++ 
public: __property string* get_UserPassword();
public: __property void set_UserPassword( 
   string* value
);
C++/CLI 
public:
property String^ UserPassword {
   String^ get();
   void set (String^ value);
}

Return Value

The user password to use when saving encrypted files.

Example

For an example, refer to CodecsPdfOptions.

Remarks

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

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also