PDFView4NET WinForms Edition
AllowPrint Property




O2S.Components.PDFView4NET Namespace > PDFSecurityManager Class : AllowPrint Property
Gets or sets whether the user is allowed to print the document.
Syntax
'Declaration
 
Public Property AllowPrint As Boolean
'Usage
 
Dim instance As PDFSecurityManager
Dim value As Boolean
 
instance.AllowPrint = value
 
value = instance.AllowPrint
public bool AllowPrint {get; set;}
public: __property bool get_AllowPrint();
public: __property void set_AllowPrint( 
   bool value
);
public:
property bool AllowPrint {
   bool get();
   void set (    bool value);
}

Property Value

A bool value specifying whether the user is allowed or not to print the document.
Remarks
This property, together with FullQualityPrint and KeySize properties, controls the printing of the document. If this property is false, then the user is not allowed to print the document. If this property is true, then the user is allowed to print the document, depending on the value of FullQualityPrint and KeySize properties. If KeySize is EncryptionKeySize.Use40BitKey then FullQualityPrint property is ignored. If KeySize is EncryptionKeySize.Use128BitKey then if FullQualityPrint is true, then the document is printed at full quality, otherwise printing of the document is limited to a low-level representation of the document, of degraded quality. This degraded quality printing is viewer implementation dependent.
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

PDFSecurityManager Class
PDFSecurityManager Members