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

**All Implemented Interfaces:**
com.aspose.ms.System.Collections.Generic.IGenericCollection< OutputIntent >, com.aspose.ms.System.Collections.Generic.IGenericEnumerable< OutputIntent >, com.aspose.ms.System.Collections.IEnumerable< OutputIntent >, Iterable < OutputIntent >

```
public final class OutputIntents extends Object implements com.aspose.ms.System.Collections.Generic.IGenericCollection< OutputIntent >
```

Represents the collection of {@link OutputIntent}.

## Methods

| Method | Description |
| --- | --- |
| [addItem](#addItem-com.aspose.pdf.OutputIntent-) | Adds an output intent to the collection. |
| [clear](#clear--) | Removes all output intents from the collection. |
| [containsItem](#containsItem-com.aspose.pdf.OutputIntent-) | Determines whether the collection contains a specific output intent. |
| [copyToTArray](#copyToTArray-com.aspose.pdf.OutputIntent:A-int-) | Copies the elements of the collection to the {@code array},starting at the particular {@code arrayIndex} into the array. |
| [get_Item](#get_Item-int-) | Returns an enumerator that iterates through a collection. |
| [isReadOnly](#isReadOnly--) | Gets a value indicating whether the collection is read-only. |
| [iterator](#iterator--) | Returns an enumerator that iterates through the collection. |
| [removeItem](#removeItem-com.aspose.pdf.OutputIntent-) | Removes the first occurrence of a specific output intent from the collection. |
| [size](#size--) | Gets the number of output intents contained in the collection. |

### addItem {#addItem-com.aspose.pdf.OutputIntent-}
Adds an output intent to the collection.

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

Removes all output intents from the collection.

### containsItem {#containsItem-com.aspose.pdf.OutputIntent-}
Determines whether the collection contains a specific output intent.

### copyToTArray {#copyToTArray-com.aspose.pdf.OutputIntent:A-int-}
Copies the elements of the collection to the {@code array},starting at the particular {@code arrayIndex} into the array.

### get_Item {#get_Item-int-}
```
public final OutputIntent get_Item(int index)
```

Returns an enumerator that iterates through a collection.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| index |  |  |

**Returns:**
An {@link IEnumerator} object that can be used to iterate through the collection.

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

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

### iterator {#iterator--}
```
public final com.aspose.ms.System.Collections.Generic.IGenericEnumerator< OutputIntent > iterator()
```

Returns an enumerator that iterates through the collection.

**Returns:**
An enumerator that can be used to iterate through the collection.

### removeItem {#removeItem-com.aspose.pdf.OutputIntent-}
Removes the first occurrence of a specific output intent from the collection.

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

Gets the number of output intents contained in the collection.
