OutputIntents

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.ms.System.Collections.Generic.IGenericCollection

public final class OutputIntents implements System.Collections.Generic.IGenericCollection<OutputIntent>

Represents the collection of OutputIntent.

Methods

MethodDescription
size()Gets the number of output intents contained in the collection.
isReadOnly()Gets a value indicating whether the collection is read-only.
addItem(OutputIntent item)Adds an output intent to the collection.
clear()Removes all output intents from the collection.
containsItem(OutputIntent item)Determines whether the collection contains a specific output intent.
copyToTArray(OutputIntent[] array, int arrayIndex)Copies the elements of the collection to the array ,starting at the particular arrayIndex into the array.
iterator()Returns an enumerator that iterates through the collection.
removeItem(OutputIntent item)Removes the first occurrence of a specific output intent from the collection.
get_Item(int index)Gets the output intent at the specified index .

size()

public final int size()

Gets the number of output intents contained in the collection.

Returns: int

isReadOnly()

public final boolean isReadOnly()

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

Returns: boolean

addItem(OutputIntent item)

public final void addItem(OutputIntent item)

Adds an output intent to the collection.

Parameters:

ParameterTypeDescription
itemOutputIntentThe output intent to add to the collection.

clear()

public final void clear()

Removes all output intents from the collection.

containsItem(OutputIntent item)

public final boolean containsItem(OutputIntent item)

Determines whether the collection contains a specific output intent.

Parameters:

ParameterTypeDescription
itemOutputIntentThe output intent to locate in the collection.

Returns: boolean - if item is found in the collection; otherwise, .

copyToTArray(OutputIntent[] array, int arrayIndex)

public final void copyToTArray(OutputIntent[] array, int arrayIndex)

Copies the elements of the collection to the array ,starting at the particular arrayIndex into the array.

Parameters:

ParameterTypeDescription
arrayOutputIntent[]The one-dimensional array that is the destination of the output intents copied from the collection. The array must have zero-based indexing.
arrayIndexintThe zero-based index in array at which copying begins.

iterator()

public final System.Collections.Generic.IGenericEnumerator<OutputIntent> iterator()

Returns an enumerator that iterates through the collection.

Returns: com.aspose.ms.System.Collections.Generic.IGenericEnumerator<com.aspose.pdf.OutputIntent> - An enumerator that can be used to iterate through the collection.

removeItem(OutputIntent item)

public final boolean removeItem(OutputIntent item)

Removes the first occurrence of a specific output intent from the collection.

Parameters:

ParameterTypeDescription
itemOutputIntentThe output intent to remove from the collection.

Returns: boolean - if item was successfully removed from the collection; if item was not found in the original collection.

get_Item(int index)

public final OutputIntent get_Item(int index)

Gets the output intent at the specified index .

Parameters:

ParameterTypeDescription
indexintThe zero-based index of the output intent to get.

Returns: OutputIntent - The output intent at the specified index .