ImageMan.Net Version 3 Summer 2012 Release
OwnerPassword Property
See Also  Send Feedback
DTI.ImageMan.Codecs Namespace > PdfEncoder Class : OwnerPassword Property





Glossary Item Box

Gets or Sets the Owner Password

Syntax

Visual Basic (Declaration) 
Public Property OwnerPassword As System.String
Visual Basic (Usage)Copy Code
Dim instance As PdfEncoder
Dim value As System.String
 
instance.OwnerPassword = value
 
value = instance.OwnerPassword
C# 
public System.string OwnerPassword {get; set;}
JScript 
public function get,set OwnerPassword : System.String
Managed Extensions for C++ 
public: __property System.string* get_OwnerPassword();
public: __property void set_OwnerPassword( 
   System.string* value
);
C++/CLI 
public:
property System.String^ OwnerPassword {
   System.String^ get();
   void set (    System.String^ value);
}

Remarks

The owner password prevents others from modifying your document, unless they are able to provide a matching owner password. If you are creating a multiple page image, either leave this property unset, or provide the same owner password for each successive page.

Setting this property to anything but null will automatically set the PdfEncryptionLevel to 40 bits if it is currently NotEncrypted.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PdfEncoder Class
PdfEncoder Members
UserPassword Property
PdfEncryptionLevel Enumeration
Pdf.PdfEncryptionLevel
Pdf.PdfEncryptionLevel.bits40

© 2014 Data Techniques, Inc. All Rights Reserved.