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

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

```
public final class ImagePlacementCollection extends Object implements Iterable < ImagePlacement >
```

Represents an image placements collection

## Methods

| Method | Description |
| --- | --- |
| [add](#add-com.aspose.pdf.ImagePlacement-) | Adds the text fragment element at the specified index. |
| [clear](#clear--) | Clears all items from the collection. |
| [contains](#contains-com.aspose.pdf.ImagePlacement-) | Determines whether the collection contains a specific value. |
| [copyTo](#copyTo-com.aspose.pdf.ImagePlacement:A-int-) | Copies the entire collection to a compatible one-dimensional Array, starting at the specified index of the target array |
| [get_Item](#get_Item-int-) | Gets the text fragment element at the specified index. |
| [getSyncRoot](#getSyncRoot--) | Gets an object that can be used to synchronize access to the collection. |
| [isReadOnly](#isReadOnly--) | Gets a value indicating whether the collection is read-only. |
| [isSynchronized](#isSynchronized--) | Gets a value indicating whether access to the collection is synchronized (thread safe). |
| [iterator](#iterator--) | Returns an enumerator for the entire collection. |
| [remove](#remove-com.aspose.pdf.ImagePlacement-) | Deletes specified item from collection |
| [size](#size--) | Gets the number of {@code ImagePlacement} object elements actually contained in the collection. |

### add {#add-com.aspose.pdf.ImagePlacement-}
Adds the text fragment element at the specified index.

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

Clears all items from the collection.

### contains {#contains-com.aspose.pdf.ImagePlacement-}
Determines whether the collection contains a specific value.

### copyTo {#copyTo-com.aspose.pdf.ImagePlacement:A-int-}
Copies the entire collection to a compatible one-dimensional Array, starting at the specified index of the target array

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

Gets the text fragment element at the specified index.

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

**Returns:**
ImagePlacement object.

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

Gets an object that can be used to synchronize access to the collection.

**Returns:**
Object for synchronization

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

Gets a value indicating whether the collection is read-only.

**Returns:**
boolean value

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

Gets a value indicating whether access to the collection is synchronized (thread safe).

**Returns:**
boolean value

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

Returns an enumerator for the entire collection.

**Returns:**
Enumerator object.

### remove {#remove-com.aspose.pdf.ImagePlacement-}
Deletes specified item from collection

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

Gets the number of {@code ImagePlacement} object elements actually contained in the collection.

**Returns:**
int value
