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
| Signature | Description |
|---|---|
ArtifactCollection() | Creates an empty artifact collection. |
ArtifactCollection(artifacts: List<Artifact>) | Creates an artifact collection from an existing list. |
get(index: int) → Artifact | Returns the artifact at the specified 1-based index. |
size() → int | Returns 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) → boolean | Removes the specified artifact from this collection. |
iterator() → Iterator<Artifact> | Returns an iterator over the artifacts in this collection. |
toString() → String | Returns a string representation of this collection. |