Aspose::Pdf::Annotations::AnnotationCollection::Add-metoden

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

Lägger till annotation i samlingen.

void Aspose::Pdf::Annotations::AnnotationCollection::Add(const System::SharedPtr<Annotation> &annotation) override
ParameterTypBeskrivning
annotationconst System::SharedPtr<Annotation>&Annotation som ska läggas till.

Se även

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

Lägger till annotation i samlingen. Om sidan är roterad kommer annoteringsrektangeln att omräknas därefter.

void Aspose::Pdf::Annotations::AnnotationCollection::Add(const System::SharedPtr<Annotation> &annotation, bool considerRotation)
ParameterTypBeskrivning
annotationconst System::SharedPtr<Annotation>&Annotation som ska läggas till.
considerRotationboolOm true och om sidan är roterad kommer annotationens position att beräknas om enligt sidrotationen.

Se även