Click or drag to resize

PdfAnnotationCollection Class

Represents collection ofobjects.
Inheritance Hierarchy
System Object
Spire.Pdf PdfCollection
Spire.Pdf.Annotations PdfAnnotationCollection
Spire.Pdf.Widget PdfAnnotationWidgetCollection

Namespace: Spire.Pdf.Annotations
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public class PdfAnnotationCollection : PdfCollection

The PdfAnnotationCollection type exposes the following members.

Constructors
Name Description
Public method PdfAnnotationCollection
Initializes a new instance of theclass.
Public method PdfAnnotationCollection(PdfNewPage)
Creates new annotation collection for the specified page.
Top
Properties
Name Description
Public property Count
Gets number of the elements in the collection.
(Inherited from PdfCollection .)
Public property Item
Gets theobject at the specified position.
Public property List
Gets internal list of the collection.
(Inherited from PdfCollection .)
Top
Methods
Name Description
Public method Add
Adds a new annotation to collection.
Public method Clear
Cleares the collection.
Public method Contains
Searches the collection for the specified annotation.
Protected method DoAdd
Adds a Annotation to collection.
Protected method DoClear
Clears the collection.
Protected method DoInsert
Inserts a annotation into collection.
Protected method DoRemove
Removes the annotation.
Protected method DoRemoveAt
Removes the annotation at the specified position.
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object .)
Public method GetEnumerator
Returns an enumerator that iterates through a collection.
(Inherited from PdfCollection .)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Public method IndexOf
Searches the collection for the specified annotation.
Public method Insert
Inserts annotation to the collection at the specified index.
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Public method Remove
Removes the element from the collection.
Public method RemoveAt
Removes the element at the specified field.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
See Also