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





Glossary Item Box

Allows or prevents a user from copying the Pdf document, or portions thereof, to the clipboard.

Syntax

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

Remarks

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

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

© 2014 Data Techniques, Inc. All Rights Reserved.