**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](#add-com.aspose.pdf.Artifact-) | Adds artifacts to the collection. * |
| [addItem](#addItem-com.aspose.pdf.Artifact-) |  |
| [clear](#clear--) | Not Supported yet. Clears collection. Method is not supported. |
| [containsItem](#containsItem-com.aspose.pdf.Artifact-) | Not Supported yet. |
| [copyToTArray](#copyToTArray-com.aspose.pdf.Artifact:A-int-) | C copy artifacts into array. |
| [delete](#delete-com.aspose.pdf.Artifact-) | Deletes specified artifact. |
| [delete](#delete-int-) | Deletes artifact by its index. |
| [findByValue](#findByValue-java.lang.String-java.lang.String-) | Finds artifacts by custom value. |
| [get_Item](#get_Item-int-) | Gets artifact by index. Index is started from 1. |
| [getSyncRoot](#getSyncRoot--) | Gets synchronization object of the collection. |
| [isReadOnly](#isReadOnly--) | Gets if collection is readonly. Always returns false. |
| [isSynchronized](#isSynchronized--) | Is this object synchronized. |
| [iterator_Rename_Namesake](#iterator_Rename_Namesake--) | For Internal usage only. Gets enumerator for the collection. |
| [iterator](#iterator--) | Gets enumerator for the collection. |
| [remove](#remove-com.aspose.pdf.Artifact-) | / * / * Checks if collection contains specified artifact. / * / * / * |
| [removeItem](#removeItem-com.aspose.pdf.Artifact-) | Not Supported yet. |
| [size](#size--) | Gets count of artifacts in collection. |
| [update](#update-com.aspose.pdf.Artifact-) | Update artifact inside the collection. |

### add {#add-com.aspose.pdf.Artifact-}
Adds artifacts to the collection. *

### addItem {#addItem-com.aspose.pdf.Artifact-}


### clear {#clear--}
```
public void clear()
```

Not Supported yet. Clears collection. Method is not supported.

### containsItem {#containsItem-com.aspose.pdf.Artifact-}
Not Supported yet.

### copyToTArray {#copyToTArray-com.aspose.pdf.Artifact:A-int-}
C copy artifacts into array.

### delete {#delete-com.aspose.pdf.Artifact-}
Deletes specified artifact.

### delete {#delete-int-}
```
public void delete(int index)
```

Deletes artifact by its index.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| index |  | Index of artifact to delete. |

### findByValue {#findByValue-java.lang.String-java.lang.String-}
Finds artifacts by custom value.

### get_Item {#get_Item-int-}
```
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 {#getSyncRoot--}
```
public Object getSyncRoot()
```

Gets synchronization object of the collection.

**Returns:**
Object for synchronization

### isReadOnly {#isReadOnly--}
```
public boolean isReadOnly()
```

Gets if collection is readonly. Always returns false.

### isSynchronized {#isSynchronized--}
```
public boolean isSynchronized()
```

Is this object synchronized.

**Returns:**
boolean value

### iterator_Rename_Namesake {#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 {#iterator--}
```
public com.aspose.ms.System.Collections.Generic.IGenericEnumerator< Artifact > iterator()
```

Gets enumerator for the collection.

**Returns:**
Enumerator object.

### remove {#remove-com.aspose.pdf.Artifact-}
/ * / * Checks if collection contains specified artifact. / * / * / *

### removeItem {#removeItem-com.aspose.pdf.Artifact-}
Not Supported yet.

### size {#size--}
```
public int size()
```

Gets count of artifacts in collection.

**Returns:**
int value

### update {#update-com.aspose.pdf.Artifact-}
Update artifact inside the collection.
