AnnotationCollection
Vue de l’ensemble
‘AnnotationCollection’ est un type dans Aspose.PDF FOSS pour Go.
AnnotationCollection est le ensemble en direct, commandé d’annotations jointes à une seule page.
Ce type fournit 7 méthodes pour travailler avec les objets de la collection d’annotation dans les programmes Go. Les méthodologies disponibles comprennent: ‘Add’, ‘All’, At', ‘Count', ’Delete’, 'DeletteAt, ‘Flatten’. Tous les membres publics sont accessibles à toute application Go après l’installation du package Aspose.PDF FOSS for Go .
méthodes
| Signature | Description |
|---|---|
Count() → int | Count reports how many annotations live on this page. |
All() → []Annotation | All returns the page’s annotations as a slice. |
Add(a: Annotation) → error | Add attaches an annotation to this page. |
At(index: int) → Annotation | At returns the annotation at the given index. |
Delete(a: Annotation) → bool | Delete removes the annotation from this page. |
DeleteAt(index: int) → error | DeleteAt removes the annotation at the given index. |
Flatten() → error | Flatten bakes every annotation on the page into the page content and removes it. |
Voir aussi
- Aspose.PDF — Résultats de l’API d’entreprise