AnnotationCollection
Vue de l’ensemble
‘AnnotationCollection’ est une classe dans Aspose.PDF FOSS pour Java.Déduit de: Iterable<Annotage>.
Collecte d’annotations sur une page (ISO 32000-1:2008, §12.5).
Cette classe fournit 8 méthodes pour travailler avec les objets AnnotationCollection dans les programmes Java. Les méthodologies disponibles comprennent: AnnotationsCollections, add , ‘delete ، 'get ; ’ getCount; 'iterator et ‘size’. Tous les membres publics sont accessibles à n’importe quelle application Java après l’installation de l’Aspose.PDF FOSS pour le package Java . Propriétés : conto.
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
count | int | Read | Returns the number of annotations in this collection. |
méthodes
| Signature | Description |
|---|---|
AnnotationCollection(annotsArray: PdfArray, page: Page, parser: PDFParser) | Constructs an annotation collection wrapping the given /Annots PdfArray. |
get(index: int) → Annotation | Returns the annotation at the specified 1-based index. |
getCount() → int | Returns the number of annotations in this collection. |
size() → int | Returns the number of annotations in this collection. |
add(annotation: Annotation) | Adds an annotation to this collection and the underlying PDF array. |
delete(index: int) | Removes the annotation at the specified 1-based index. |
delete(annotation: Annotation) | Removes the specified annotation from this collection. |
iterator() → Iterator<Annotation> | Returns an iterator over the annotations in this collection. |
Voir aussi
- Aspose.PDF pour Java — API d’entreprise