AnnotationCollection

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

SignatureDescription
Count()intCount reports how many annotations live on this page.
All()[]AnnotationAll returns the page’s annotations as a slice.
Add(a: Annotation)errorAdd attaches an annotation to this page.
At(index: int)AnnotationAt returns the annotation at the given index.
Delete(a: Annotation)boolDelete removes the annotation from this page.
DeleteAt(index: int)errorDeleteAt removes the annotation at the given index.
Flatten()errorFlatten bakes every annotation on the page into the page content and removes it.

Voir aussi

  • Aspose.PDF — Résultats de l’API d’entreprise
 Français