Aspose::Pdf::Annotations::AnnotationCollection::Add method

AnnotationCollection::Add(const System::SharedPtr<Annotation>&) method

Adds annotation to the collection.

void Aspose::Pdf::Annotations::AnnotationCollection::Add(const System::SharedPtr<Annotation> &annotation) override
ParameterTypeDescription
annotationconst System::SharedPtr<Annotation>&Annotation which shall be added.

See Also

AnnotationCollection::Add(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(System::SharedPtr<Annotation> annotation, bool considerRotation)
ParameterTypeDescription
annotationSystem::SharedPtr<Annotation>Annotation which shall be added.
considerRotationboolIf true and if page is rotated then annotation position will be recaculated accroding to page rotation.

See Also