Aspose::Pdf::Annotations::AnnotationCollection class
Contents
[
Hide
]AnnotationCollection class
Class representing annotation collection.
class AnnotationCollection : public System::Collections::Generic::ICollection<System::SharedPtr<Aspose::Pdf::Annotations::Annotation>>
Methods
Method | Description |
---|---|
Accept(System::SharedPtr<AnnotationSelector>) | Accepts visitor to process annotation. |
Add(System::SharedPtr<Annotation>, bool) | Adds annotation to the collection. If page is rotated then annotation rectangle will be recalculated accordingly. |
Add(const System::SharedPtr<Annotation>&) override | Adds annotation to the collection. |
Clear() override | Deletes all annotations from the collection. |
Contains(const System::SharedPtr<Annotation>&) const override | Checks if specified annotation belong to collection. |
CopyTo(System::ArrayPtr<System::SharedPtr<Annotation>>, int32_t) override | Copies array of annotations into collection. |
Delete(int32_t) | Deletes annotation from the collection by index. |
Delete() | Deletes all annotations from the collection. |
Delete(System::SharedPtr<Annotation>) | Deletes specified annotation from the collection. |
FindByName(System::String) | Returns annotation by its name. |
get_Count() const override | Gets count of annotations in collection. |
get_IsReadOnly() const override | Gets a value indicating if collection is readonly. |
get_IsSynchronized() | Gets a value indicating whether access to the Aspose.Pdf.Annotations.AnnotationCollection is synchronized (thread safe). |
get_SyncRoot() const | Gets an object that can be used to synchronize access to Aspose.Pdf.Annotations.AnnotationCollection. |
GetEnumerator() override | Returns collection enumerator. |
idx_get(int32_t) | The index of the element to get. |
Remove(const System::SharedPtr<Annotation>&) override | Deletes specified annotation from the collection. |
See Also
- Class ICollection
- Namespace Aspose::Pdf::Annotations
- Library Aspose.PDF for C++