add method

int add(
  1. PdfAnnotation annotation
)

Adds a new annotation to the collection.

Implementation

int add(PdfAnnotation annotation) {
  return _helper._doAdd(annotation);
}