ArtifactCollection
Inheritance: java.lang.Object, com.aspose.pdf.ArtifactCollection
All Implemented Interfaces: com.aspose.ms.System.Collections.Generic.IGenericCollection< Artifact >, com.aspose.ms.System.Collections.Generic.IGenericEnumerable< Artifact >, com.aspose.ms.System.Collections.IEnumerable< Artifact >, Iterable < Artifact >
public class ArtifactCollection extends Object implements com.aspose.ms.System.Collections.Generic.IGenericCollection< Artifact >
Class represents artifact collection.
Methods
| Method | Description |
|---|---|
| add | Adds artifacts to the collection. * |
| addItem | |
| clear | Not Supported yet. Clears collection. Method is not supported. |
| containsItem | Not Supported yet. |
| copyToTArray | C copy artifacts into array. |
| delete | Deletes specified artifact. |
| delete | Deletes artifact by its index. |
| findByValue | Finds artifacts by custom value. |
| get_Item | Gets artifact by index. Index is started from 1. |
| getSyncRoot | Gets synchronization object of the collection. |
| isReadOnly | Gets if collection is readonly. Always returns false. |
| isSynchronized | Is this object synchronized. |
| iterator_Rename_Namesake | For Internal usage only. Gets enumerator for the collection. |
| iterator | Gets enumerator for the collection. |
| remove | / * / * Checks if collection contains specified artifact. / * / * / * |
| removeItem | Not Supported yet. |
| size | Gets count of artifacts in collection. |
| update | Update artifact inside the collection. |
add
Adds artifacts to the collection. *
addItem
clear
public void clear()
Not Supported yet. Clears collection. Method is not supported.
containsItem
Not Supported yet.
copyToTArray
C copy artifacts into array.
delete
Deletes specified artifact.
delete
public void delete(int index)
Deletes artifact by its index.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| index | Index of artifact to delete. |
findByValue
Finds artifacts by custom value.
get_Item
public Artifact get_Item(int index)
Gets artifact by index. Index is started from 1.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| index | Index of the artifact. |
Returns: Artifact on the page.
getSyncRoot
public Object getSyncRoot()
Gets synchronization object of the collection.
Returns: Object for synchronization
isReadOnly
public boolean isReadOnly()
Gets if collection is readonly. Always returns false.
isSynchronized
public boolean isSynchronized()
Is this object synchronized.
Returns: boolean value
iterator_Rename_Namesake
public com.aspose.ms.System.Collections.IEnumerator iterator_Rename_Namesake()
For Internal usage only. Gets enumerator for the collection.
Returns: Enumerator object.
iterator
public com.aspose.ms.System.Collections.Generic.IGenericEnumerator< Artifact > iterator()
Gets enumerator for the collection.
Returns: Enumerator object.
remove
/ * / * Checks if collection contains specified artifact. / * / * / *
removeItem
Not Supported yet.
size
public int size()
Gets count of artifacts in collection.
Returns: int value
update
Update artifact inside the collection.