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





Glossary Item Box

Allows or prevents a user from printing the Pdf document.

Syntax

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

Remarks

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

Other properties that are also used to limit user access are: AllowModify, 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.AllowModify
PdfEncoder.AllowCopy
PdfEncoder.AllowFormFields

© 2014 Data Techniques, Inc. All Rights Reserved.