13–37–3 -getAnnotInfo: Getting Annotation Information

Item

Content
Annot Type

Type of annotation:
Link
Text
Stamp
File Attachment
Popup
For Link
Highlighting mode
Display mode highlighted when link annotation is clicked
None : No change
Invert : Entire rectangle of link annotation is flipped
Outline : Only the frame of the link annotation rectangle is flipped.
Push : Link annotation rectangle appears pushed out.

Action
Action when the link is clicked
For details, see "Action Information"

*Basic Annotation Information
See "[Basic Annotation Information]" written later
For Text, Stamp
Icon Type
Types of Icon

Icon Name
Icon name

*Basic Annotation Information
See "[Basic Annotation Information]" written later

*Markup Annotation Information
See "[Markup Annotation Information]" written later
For File Attachment
Icon Type
Types of icon

Icon Name
Icon name

File Name
Name of file attachment

*Basic Annotation Information
See "[Basic Annotation Information]" written later

*Markup Annotation Information
See "[Markup Annotation Information]" written later
Table13・2 [Basic Annotation Information]
Item
Content
Rect
Information on annotation rectangle position
TextContents
Displayed text (if exists.)
ModDate
Date of annotation updated
Annot Flags
A bit flag indicating the display state of the annotation. Specifically, the details are as follows:

Invisible: If on, the annotation will not be displayed if it does not belong to a standard type and there is no annotation handler. If off, even if the annotation is unknown, if an appearance stream is specified in the PDF, the annotation will be displayed with that appearance.

Hidden : If on, prevents this annotation from being displayed, printed, or interacted with by the user, regardless of the annotation type or handler.

Print: If on, annotations are also printed when the page is printed. Annotations that are turned off will not be printed. For example, this flag is turned off for types of annotations that have no meaning on the printed page.

NoZoom: Fixed magnification. If on, the visual position of the annotation will be maintained even if the page display magnification is changed.

NoRotate: Fixed rotation. If on, the annotation's visual position is maintained even if the page is rotated.

NoView: Hidden. When on, it is not displayed on the screen and cannot be interacted with by the user. For example, if there is an annotation with NoView on and the Print flag also on, the behavior will be hidden on the screen but will appear when printed.

ReadOnly : Read only. If on, this annotation cannot be interacted with by the user. In this case, display and printing are possible, but changes, including responding to mouse clicks and changing the appearance of position and size in response to mouse movements, are not possible.

Locked: If on, the annotation cannot be deleted or its properties such as position and size can be changed. Note that even if it is on, changing the annotation content is not prohibited.

ToggleNoView : If on, inverts the interpretation of the NoView flag when the mouse is over an annotation or when an annotation is selected. For example, in combination with the NoView flag on, the annotation will be displayed only when selected.

LockedContents: If on, the content of the annotation cannot be changed.
Color
Annotation color :
None
RGB (r, g, b): RGB color. r represents the red value, g represents the green value, and b represents the blue value. 1.0 is the maximum value and 0.0 is the minimum value.
CMYK (c, m, y, k): CMYK color. c represents the cyan value, m represents the magenta value, y represents the yellow value, and k represents the black value. 1.0 is the maximum value and 0.0 is the minimum value.
Border Style
Annotation border type
Solid : Solid line
Dashed : Dashed line
Beveled : Lines with a three-dimensional effect that appear raised
Inset : Lines with a three-dimensional effect that looks concave
Underline
None : なし
Border Width
Annotation border width
Thin
Middle
Thick
None
Table13・3 [Markup Annotation Information]
Item
Content
Markup Title
"Author" of annotation
Markup Subject
"Title" of annotation
CreationDate
Date annotation created
Markup CA
Opacity
Value range: 0.0 to 1.0. 1.0 represents opaque
Popup
exist : has popup annotations
not exist : Does not have popup annotations
*Basic Popup Annotation Information
Output when there is a popup annotation.
See "[Basic Annotation Information]" written before