AnnotationCollection

AnnotationCollection class

Class representing annotation collection.

The AnnotationCollection type exposes the following members:

Properties

NameDescription
is_synchronizedGets a value indicating whether access to the Aspose.Pdf.Annotations.AnnotationCollection is synchronized (thread safe).
sync_rootGets an object that can be used to synchronize access to Aspose.Pdf.Annotations.AnnotationCollection.

Indexer

NameDescription
[index]The index of the element to get.

Methods

NameDescription
delete(index)Deletes annotation from the collection by index.
delete()Deletes annotation from the collection by index.
delete(annotation)Deletes annotation from the collection by index.
add(annotation, consider_rotation)Adds annotation to the collection. If page is rotated then annotation rectangle will be recalculated accordingly.
accept(visitor)Accepts visitor to process annotation.
find_by_name(name)Returns annotation by its name.

See Also