API reference / Common / Engine types / PageAnnotationList
Interface: PageAnnotationList
The annotations of one page, by id, in /Annots order — which is paint order: a later annotation paints over an earlier one, and all of them over the page's contents. Each Annotation is a part of its own.
Parts of their own rather than a field of Page: a part is the unit a save rewrites, so adding a highlight leaves the page and its contents unmodified, and changing one leaves this list and every other annotation unmodified. Reached through Page::annotations.
Properties
| Property | Type |
|---|---|
id | string |
annotations | string[] |