java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | com.pspdfkit.annotations.AnnotationFlags |
Specifies various characteristics of the annotation.
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 | 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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
If set, do not display or print the annotation or allow it to interact with the user.
If set, ignore annotation AP stream if there is no handler available.
If set, don't allow the annotation to be deleted or properties modified (except contents)
If set, don't allow the contents of the annotation to be modified by the user.
[Not supported] If set, don't rotate the annotation’s appearance to match the rotation of the page.
If set, don't display the annotation on the screen. (But printing might be allowed)
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)
.
If set, print the annotation when the page is printed. Default value.
If set, don't allow the annotation to interact with the user. Ignored for Widget.
[Not supported] If set, invert the interpretation of the NoView flag for certain events.