PdfAnnotationCollection class Null safety

Represents the collection of PdfAnnotation objects.

Inheritance

Constructors

PdfAnnotationCollection(PdfPage page)
Initializes a new instance of the PdfAnnotationCollection class with the specified page.

Properties

count int
Gets number of the elements in the collection.
read-only, inherited
hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

add(PdfAnnotation annotation) int
Adds a new annotation to the collection.
contains(PdfAnnotation annotation) bool
Determines whether a specified annotation is in the annotation collection.
flattenAllAnnotations() → void
Flatten all the annotations.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
remove(PdfAnnotation annot) → void
Removes the specified annotation from the collection.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](int index) PdfAnnotation
Gets the PdfAnnotation at the specified index.