**Inheritance:**
java.lang.Object, com.aspose.pdf.ActionCollection

**All Implemented Interfaces:**
Iterable < PdfAction >

```
public final class ActionCollection extends Object implements Iterable < PdfAction >
```

Collection of actions

## Methods

| Method | Description |
| --- | --- |
| [add](#add-com.aspose.pdf.PdfAction-) | Adds new action into colleciton. |
| [clear](#clear--) | Clear collection. |
| [contains](#contains-com.aspose.pdf.PdfAction-) | Not supported yet. Returns true if give item presents in the collection. |
| [copyTo](#copyTo-com.aspose.pdf.PdfAction:A-int-) | Copies actions array into collection. |
| [delete](#delete--) | Delete all actions. |
| [delete](#delete-int-) | Removes action from collection by index. |
| [get_Item](#get_Item-int-) | Gets action by its index. |
| [getSyncRoot](#getSyncRoot--) | Gets synchronization object. |
| [isReadOnly](#isReadOnly--) | Returns true if collection is readonly. |
| [isSynchronized](#isSynchronized--) | Returns true if object is synchronized. |
| [iterator](#iterator--) | / * / * Returns enumerator for collection. / * / * / * |
| [remove](#remove-com.aspose.pdf.PdfAction-) | * Not supported yet. Removes item from collection. |
| [size](#size--) | Count of actions on the collection. |

### add {#add-com.aspose.pdf.PdfAction-}
Adds new action into colleciton.

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

Clear collection.

### contains {#contains-com.aspose.pdf.PdfAction-}
Not supported yet. Returns true if give item presents in the collection.

### copyTo {#copyTo-com.aspose.pdf.PdfAction:A-int-}
Copies actions array into collection.

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

Delete all actions.

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

Removes action from collection by index.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| index |  | Index of action to remove. |

### get_Item {#get_Item-int-}
```
public PdfAction get_Item(int index)
```

Gets action by its index.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| index |  | Index of action. |

**Returns:**
Retreived action.

### getSyncRoot {#getSyncRoot--}
```
public Object getSyncRoot()
```

Gets synchronization object.

**Returns:**
Object value

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

Returns true if collection is readonly.

**Returns:**
boolean value

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

Returns true if object is synchronized.

**Returns:**
boolean value

### iterator {#iterator--}
```
public com.aspose.ms.System.Collections.IEnumerator< PdfAction > iterator()
```

/ * / * Returns enumerator for collection. / * / * / *

**Returns:**
Collection enumerator. /

### remove {#remove-com.aspose.pdf.PdfAction-}
* Not supported yet. Removes item from collection.

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

Count of actions on the collection.

**Returns:**
int value
