Adds an Annotation to the end of the AnnotationCollection.
The AnnotationCollection index at which the Annotation has been added.
AnnotationCollection does not accept a a null reference as a valid value.
AnnotationCollection does not accept duplicate elements.
| Exception Type | Condition |
|---|---|
| ArgumentNullException | The given annotation is a null reference. |
| ArgumentException | The given annotation is already in this AnnotationCollection. (Duplicate annotation) |
AnnotationCollection Class | TallComponents.PDF.Annotations Namespace