ArtifactCollection

ArtifactCollection

Overview

ArtifactCollection is a class in Aspose.Pdf FOSS for Java. Inherits from: Iterable<Artifact>.

Represents a collection of {@link Artifact} objects found on a PDF page.

Methods

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.

See Also