←Select platform

AnnotationsEnabled Property

Summary
Indicates whether annotations and comments can be added to the PDF document.
Syntax
C#
VB
C++
Java
public bool AnnotationsEnabled { get; set; } 
Public Property AnnotationsEnabled As Boolean 
public boolean getAnnotationsEnabled(); 
public void setAnnotationsEnabled( 
   boolean booleanValue 
); 
public: 
property bool AnnotationsEnabled { 
   bool get(); 
   void set (    bool ); 
} 

Property Value

true to allow external viewers and editors to add annotations and comments to the PDF document; otherwise, it is false. The default value is true.

Remarks

The value of AnnotationsEnabled is used only when encrypting a PDF file with an owner password set in OwnerPassword.

Example

For an example, refer to PDFFile.

Requirements

Target Platforms

Help Version 21.0.2021.3.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Pdf Assembly