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





Glossary Item Box

Allows or prevents a user from modifying the Pdf document.

Syntax

Visual Basic (Declaration) 
Public Property AllowModify As System.Boolean
Visual Basic (Usage)Copy Code
Dim instance As PdfEncoder
Dim value As System.Boolean
 
instance.AllowModify = value
 
value = instance.AllowModify
C# 
public System.bool AllowModify {get; set;}
JScript 
public function get,set AllowModify : System.boolean
Managed Extensions for C++ 
public: __property System.bool get_AllowModify();
public: __property void set_AllowModify( 
   System.bool value
);
C++/CLI 
public:
property System.bool AllowModify {
   System.bool get();
   void set (    System.bool value);
}

Remarks

This property defaults to true. Allowing viewers to modify this document. If this property is set to false then the document will be encrypted and users will not be able to modify the document.

Other properties that are also used to limit user access are: AllowPrint, AllowCopy and AllowFormFields. If any of these properties are set then the PdfEncryptionLevel will automatically be set 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
PdfEncryptionLevel Enumeration
Pdf.PdfEncryptionLevel
Pdf.PdfEncryptionLevel.bits40
PdfEncoder.AllowPrint
PdfEncoder.AllowCopy
PdfEncoder.AllowFormFields

© 2014 Data Techniques, Inc. All Rights Reserved.