←Select platform

PrintEnabled Property

Summary

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

Syntax
C#
VB
Objective-C
C++
Java
public bool PrintEnabled { get; set; } 
Public Property PrintEnabled As Boolean 
@property (nonatomic, assign) BOOL printEnabled 
public boolean getPrintEnabled() 
public void setPrintEnabled(boolean 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 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Writer Assembly