Leadtools.Forms.DocumentWriters Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
PrintEnabled Property
See Also 
Leadtools.Forms.DocumentWriters Namespace > PdfDocumentOptions Class : PrintEnabled Property



Gets or sets a value that indicate whether the resulting PDF document has printing owner access rights.

Syntax

Visual Basic (Declaration) 
Public Property PrintEnabled As Boolean
Visual Basic (Usage)Copy Code
Dim instance As PdfDocumentOptions
Dim value As Boolean
 
instance.PrintEnabled = value
 
value = instance.PrintEnabled
C# 
public bool PrintEnabled {get; set;}
C++/CLI 
public:
property bool PrintEnabled {
   bool get();
   void set (bool value);
}

Return Value

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

Example

For an example, refer to PdfDocumentOptions.

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.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Leadtools.Forms.DocumentWriters requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features