Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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;}
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 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also