Hierarchy
ModelsTextAnnotationJSONTextAnnotationJSON
Properties
action
Optional
| | { subactions?: (CoreActionJSON)[]; type: "uri"; uri: string }
| { pageIndex: number; subactions?: (CoreActionJSON)[]; type: "goTo" }
| { … }
| { … }
| { … }
| { … }
| { … }
| { filePath: string; subactions?: (CoreActionJSON)[]; type: "launch" }
| { … }
| { … }
| { script: string; subactions?: (CoreActionJSON)[]; type: "javaScript" }
| null
APStreamCache
Optional
{ cache: string } | { attach: string }
backgroundColor
Optional
string | null
[left: number, top: number, width: number, height: number]
blendMode
Optional
| "normal"
| "multiply"
| "screen"
| "overlay"
| "darken"
| "lighten"
| "colorDodge"
| "colorBurn"
| "hardLight"
| "softLight"
| "difference"
| "exclusion"
| null
borderColor
Optional
string | null
borderStyle
Optional
"solid" | "dashed" | "beveled" | "inset" | "underline" | null
borderWidth
Optional
number | null
creatorName
Optional
string | null
customData
Optional
flags
Optional
| (
| "noView"
| "noPrint"
| "locked"
| "lockedContents"
| "readOnly"
| "hidden"
| "noZoom"
| "noRotate"
)[]
| null
font
Optional
string | null
fontColor
Optional
string | null
fontSize
Optional
number | null
fontStyle
Optional
string[] | null
group
Optional
string | null
horizontalAlign
Optional
"left" | "center" | "right"
string
isAnonymous
Optional
boolean
isCommentThreadRoot
Optional
boolean
isFitting
Optional
boolean
name
Optional
string | null
note
Optional
string | null
opacity
Optional
number
number
pdfObjectId
Optional
number | null
rotation
Optional
number | null
subject
Optional
string | null
"pspdfkit/text"
number
verticalAlign
Optional
"center" | "top" | "bottom"
The spacing between lines of text, in PDF points. This is the total line height (baseline to baseline), independent of the font size.