Aspose::Pdf::Annotations::AnnotationCollection::Add method
Contents
[
Hide
]AnnotationCollection::Add(const System::SharedPtr<Annotation>&) method
Adds annotation to the collection.
void Aspose::Pdf::Annotations::AnnotationCollection::Add(const System::SharedPtr<Annotation> &annotation) override
| Parameter | Type | Description |
|---|---|---|
| annotation | const System::SharedPtr<Annotation>& | Annotation which shall be added. |
See Also
- Typedef SharedPtr
- Class Annotation
- Class AnnotationCollection
- Namespace Aspose::Pdf::Annotations
- Library Aspose.PDF for C++
AnnotationCollection::Add(const System::SharedPtr<Annotation>&, bool) method
Adds annotation to the collection. If page is rotated then annotation rectangle will be recalculated accordingly.
void Aspose::Pdf::Annotations::AnnotationCollection::Add(const System::SharedPtr<Annotation> &annotation, bool considerRotation)
| Parameter | Type | Description |
|---|---|---|
| annotation | const System::SharedPtr<Annotation>& | Annotation which shall be added. |
| considerRotation | bool | If true and if page is rotated then annotation position will be recaculated accroding to page rotation. |
See Also
- Typedef SharedPtr
- Class Annotation
- Class AnnotationCollection
- Namespace Aspose::Pdf::Annotations
- Library Aspose.PDF for C++