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





Glossary Item Box

Sets the Encryption Level for the Pdf document.

Syntax

Visual Basic (Declaration) 
Public Property EncryptionLevel As PdfEncryptionLevel
Visual Basic (Usage)Copy Code
Dim instance As PdfEncoder
Dim value As PdfEncryptionLevel
 
instance.EncryptionLevel = value
 
value = instance.EncryptionLevel
C# 
public PdfEncryptionLevel EncryptionLevel {get; set;}
JScript 
public function get,set EncryptionLevel : PdfEncryptionLevel
Managed Extensions for C++ 
public: __property PdfEncryptionLevel get_EncryptionLevel();
public: __property void set_EncryptionLevel( 
   PdfEncryptionLevel value
);
C++/CLI 
public:
property PdfEncryptionLevel EncryptionLevel {
   PdfEncryptionLevel get();
   void set (    PdfEncryptionLevel value);
}

Remarks

The Pdf Document must be Encrypted to limit user access with the AllowPrint, AllowModify, AllowCopy or AllowFormFields properties. If one of these properties are set then the PdfEncryptionLevel will automatically default to 40 bits if it is currently NotEncrypted.

As long as the UserPassword is not defined or set to an empty string "" the document can be accessed without needing to type in a password.

If the 128 bit encryption option is used then a version 1.4 file will be generated.

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
Pdf.PdfEncryptionLevel
PdfEncoder.AllowPrint
PdfEncoder.AllowModify
PdfEncoder.AllowCopy
PdfEncoder.AllowFormFields

© 2014 Data Techniques, Inc. All Rights Reserved.