LEADTOOLS Image File Support (Leadtools.Codecs assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
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);
}

Property 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: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also