PDFDocument.annotations
List, create, update, delete and flatten annotations; read comment threads, reply and set review status. Without the
extract feature the contents and author of every annotation and comment, and a web link's uri, come back ''. See AnnotationsApi.getterNamespacessince 1.0.0
Signature
get annotations(): AnnotationsApi
Returns
AnnotationsApi
Example
TypeScript
const onPage = await doc.annotations.list(0);