ArtifactCollection

ArtifactCollection

Vue de l’ensemble

‘ArtifactCollection’ est une classe dans Aspose.PDF FOSS pour Java.Déduit de: Iterable<Artifiable>.

Il représente une collection d’objets {@link Artifact} trouvés sur une page PDF.

Cette classe fournit 9 méthodes pour travailler avec les objets ArtifactCollection dans les programmes Java. Les méthodologies disponibles comprennent: ‘ArtifaktColection’, ‘add’ , ‘delete’, get', ‘iterator', ’size, ’toString’. Tous les membres publics sont accessibles à n’importe quelle application Java après l’installation de l’Aspose.PDF FOSS pour le package Java .

méthodes

SignatureDescription
ArtifactCollection()Creates an empty artifact collection.
ArtifactCollection(artifacts: List<Artifact>)Creates an artifact collection from an existing list.
get(index: int)ArtifactReturns the artifact at the specified 1-based index.
size()intReturns the number of artifacts in this collection.
add(artifact: Artifact)Adds an artifact to this collection.
delete(index: int)Removes the artifact at the specified 1-based index.
delete(artifact: Artifact)booleanRemoves the specified artifact from this collection.
iterator()Iterator<Artifact>Returns an iterator over the artifacts in this collection.
toString()StringReturns a string representation of this collection.

Voir aussi

  • Aspose.PDF pour Java — API d’entreprise
 Français