public final enum

AnnotationFlags

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.pspdfkit.annotations.AnnotationFlags

Class Overview

Specifies various characteristics of the annotation.

Summary

Enum Values
AnnotationFlags  HIDDEN  If set, do not display or print the annotation or allow it to interact with the user. 
AnnotationFlags  INVISIBLE  If set, ignore annotation AP stream if there is no handler available. 
AnnotationFlags  LOCKED  If set, don't allow the annotation to be deleted or properties modified (except contents)  
AnnotationFlags  LOCKEDCONTENTS  If set, don't allow the contents of the annotation to be modified by the user. 
AnnotationFlags  NOROTATE  [Not supported] If set, don't rotate the annotation’s appearance to match the rotation of the page. 
AnnotationFlags  NOVIEW  If set, don't display the annotation on the screen. 
AnnotationFlags  NOZOOM  If set, don't scale the annotation’s appearance to match the magnification of the page. 
AnnotationFlags  PRINT  If set, print the annotation when the page is printed. 
AnnotationFlags  READONLY  If set, don't allow the annotation to interact with the user. 
AnnotationFlags  TOGGLENOVIEW  [Not supported] If set, invert the interpretation of the NoView flag for certain events. 
Public Methods
static AnnotationFlags valueOf(String name)
final static AnnotationFlags[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final AnnotationFlags HIDDEN

If set, do not display or print the annotation or allow it to interact with the user.

public static final AnnotationFlags INVISIBLE

If set, ignore annotation AP stream if there is no handler available.

public static final AnnotationFlags LOCKED

If set, don't allow the annotation to be deleted or properties modified (except contents)

public static final AnnotationFlags LOCKEDCONTENTS

If set, don't allow the contents of the annotation to be modified by the user.

public static final AnnotationFlags NOROTATE

[Not supported] If set, don't rotate the annotation’s appearance to match the rotation of the page.

public static final AnnotationFlags NOVIEW

If set, don't display the annotation on the screen. (But printing might be allowed)

public static final AnnotationFlags NOZOOM

If set, don't scale the annotation’s appearance to match the magnification of the page.

Note: Supported only for FILE and STAMP annotations.

Note: NOTE are treated as if they had this flag enabled by default. If you wish to disable this behavior, use setEnableNoteAnnotationNoZoomHandling(boolean).

public static final AnnotationFlags PRINT

If set, print the annotation when the page is printed. Default value.

public static final AnnotationFlags READONLY

If set, don't allow the annotation to interact with the user. Ignored for Widget.

public static final AnnotationFlags TOGGLENOVIEW

[Not supported] If set, invert the interpretation of the NoView flag for certain events.

Public Methods

public static AnnotationFlags valueOf (String name)

public static final AnnotationFlags[] values ()