Optionalaction
action?: | null | | { subactions?: (CoreActionJSON)
[]; type: "uri"; uri: string } | { pageIndex: number; subactions?: (CoreActionJSON)
[]; type: "goTo" } | { newWindow: boolean; relativePath: string; subactions?: (CoreActionJSON)
[]; targetType: "parent" | "child"; type: "goToEmbedded"; } | { namedDestination: string; relativePath: string; subactions?: (CoreActionJSON)
[]; type: "goToRemote"; } | { annotationReferences: AnnotationReference[]; hide: boolean; subactions?: (CoreActionJSON)
[]; type: "hide"; } | { fields: null | AnnotationReference[]; flags: null | string; subactions?: (CoreActionJSON)
[]; type: "resetForm"; } | { fields: null | string[]; flags: null | ActionFlags[]; subactions?: (CoreActionJSON)
[]; type: "submitForm"; uri: string; } | { filePath: string; subactions?: (CoreActionJSON)
[]; type: "launch" } | { action: Omit<string, "custom">; subactions?: (CoreActionJSON)
[]; type: "named"; } | { action: "custom"; customAction: NamedCustomAction; subactions?: (CoreActionJSON)
[]; type: "named"; } | { script: string; subactions?: (CoreActionJSON)
[]; type: "javaScript" } OptionalAPStreamCache
APStreamCache?: { cache: string } | { attach: string }
bbox
bbox: [left: number, top: number, width: number, height: number]
OptionalblendMode
blendMode?:
| null
| | "normal"
| "multiply"
| "screen"
| "overlay"
| "darken"
| "lighten"
| "colorDodge"
| "colorBurn"
| "hardLight"
| "softLight"
| "difference"
| "exclusion"
OptionalcreatedAt
createdAt?: string | Date OptionalcreatorName
creatorName?: null | string
OptionalcustomData
customData?: null | Record<string, unknown> fillColor
fillColor: null | string
Optionalflags
flags?:
| null
| (
| "noView"
| "noPrint"
| "locked"
| "lockedContents"
| "readOnly"
| "hidden"
| "noZoom"
| "noRotate"
)[]
Optionalgroup
group?: IGroup
OptionalisAnonymous
isAnonymous?: boolean
isCommentThreadRoot?: boolean
OptionallineCaps
lineCaps?: null | LineCapsType
Optionallines
lines?: { intensities: number[][]; points: [number, number][][] }
OptionallineWidth
lineWidth?: null | number
OptionalmeasurementPrecision
measurementPrecision?:
| null
| | "whole"
| "oneDp"
| "twoDp"
| "threeDp"
| "fourDp"
| "1/2"
| "1/4"
| "1/8"
| "1/16"
OptionalmeasurementScale
measurementScale?:
| null
| {
from: number;
to: number;
unitFrom: "in"
| "mm"
| "cm"
| "pt";
unitTo: "in" | "mm" | "cm" | "pt" | "ft" | "m" | "yd" | "km" | "mi";
}
Optionalname
name?: null | string
Optionalnote
note?: null | string
Optionalopacity
opacity?: number
pageIndex
pageIndex: number
OptionalpdfObjectId
pdfObjectId?: null | number
Optionalpermissions
permissions?: {
delete: boolean;
edit: boolean;
fill?: boolean;
reply?: boolean;
setGroup: boolean;
}
points
points: [number, number][]
strokeColor
strokeColor: null | string
OptionalstrokeDashArray
strokeDashArray?: null | [number, number]
strokeWidth
strokeWidth: number
Optionalsubject
subject?: null | string
type
type: "pspdfkit/shape/polyline"
OptionalupdatedAt
updatedAt?: string | Date