←Select platform

AnnotationsEnabled Property

Summary

Indicates whether annotations and comments can be added to the resulting PDF document.

Syntax
C#
VB
Objective-C
C++
Java
public bool AnnotationsEnabled { get; set; } 
Public Property AnnotationsEnabled As Boolean 
@property (nonatomic, assign) BOOL annotationsEnabled 
public boolean getAnnotationsEnabled() 
public void setAnnotationsEnabled(boolean annotationsEnabled) 
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 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.

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

Note that AnnotationsEnabled 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