Aspose::Pdf::Annotations::AnnotationCollection::Add-metoden
Innehåll
[
Dölj
]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
| Parameter | Typ | Beskrivning |
|---|---|---|
| annotation | const System::SharedPtr<Annotation>& | Annotation som ska läggas till. |
Se även
- Typedef SharedPtr
- Class Annotation
- Class AnnotationCollection
- Namespace Aspose::Pdf::Annotations
- Library Aspose.PDF for C++
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)
| Parameter | Typ | Beskrivning |
|---|---|---|
| annotation | const System::SharedPtr<Annotation>& | Annotation som ska läggas till. |
| considerRotation | bool | Om true och om sidan är roterad kommer annotationens position att beräknas om enligt sidrotationen. |
Se även
- Typedef SharedPtr
- Class Annotation
- Class AnnotationCollection
- Namespace Aspose::Pdf::Annotations
- Library Aspose.PDF for C++