←Select platform

PrintEnabled Property

Summary

Indicates whether the resulting PDF document has access rights to allow printing.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public bool PrintEnabled { get; set; } 
Public Property PrintEnabled As Boolean 
public bool PrintEnabled {get; set;} 
@property (nonatomic, assign) BOOL printEnabled 
public boolean getPrintEnabled() 
public void setPrintEnabled(boolean printEnabled) 
             
 <br/>get_PrintEnabled();<br/>set_PrintEnabled(value);<br/>Object.defineProperty('PrintEnabled');  
public: 
property bool PrintEnabled { 
   bool get(); 
   void set (    bool ); 
} 

Property Value

true to allow external viewers and editors to print the resulting PDF document, otherwise; false. Default value is true.

Remarks

This is one of the owner access rights that can be granted or denied in the created PDF document. For more information, refer to the Protected property.

PrintEnabled is only used if the value of Protected is set to true.

Note that PrintEnabled is not supported when DocumentType is PdfDocumentType.PdfA.

Example

For an example, refer to PdfDocumentOptions.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms.DocumentWriters Assembly