Destroys an annotation list.
Get the annot by specified dictionary.
Page index, starting from 0.
The annotation dictionary.
Gets an annotation at specified position.
The zero-based index in the annotation list.
Gets the count of annotations in the annotation list.
Gets the annotation's index.
The input annotation.
Inserts BEFORE the index, if index equals to current count, then append.
Optionalindex: numberThe zero-based index to insert before.
Moves an annotation to specified position.
The annotation of position wanna to move
The new position to move to
Moves an annotation to the first of the annotation list.
The zero-based index of the annotation to be moved.
Moves an annotation to the last of the annotation list.
The zero-based index of the annotation to be moved.
Removes an annotation.
The zero-based index of the annotation to be removed.
Removes all the annotation.
Replaces the specified position with a new annotation.
The zero-based index in the annotation list.
The new annotation.
StaticcreateCreates an annotation list from a PDF page.
Optionaloptions: OptionsThe input PDF page
No longer use 'new' to create, but use create instead.