public final class OutputIntents extends Object implements com.aspose.ms.System.Collections.Generic.IGenericCollection<OutputIntent>
Represents the collection of OutputIntent
.
Modifier and Type | Method and Description |
---|---|
void |
addItem(OutputIntent item)
Adds an output intent to the collection.
|
void |
clear()
Removes all output intents from the collection.
|
boolean |
containsItem(OutputIntent item)
Determines whether the collection contains a specific output intent.
|
void |
copyToTArray(OutputIntent[] array,
int arrayIndex)
Copies the elements of the collection to the
array ,starting
at the particular arrayIndex into the array. |
OutputIntent |
get_Item(int index)
Gets the output intent at the specified
index . |
boolean |
isReadOnly()
Gets a value indicating whether the collection is read-only.
|
com.aspose.ms.System.Collections.Generic.IGenericEnumerator<OutputIntent> |
iterator()
Returns an enumerator that iterates through the collection.
|
boolean |
removeItem(OutputIntent item)
Removes the first occurrence of a specific output intent from the collection.
|
int |
size()
Gets the number of output intents contained in the collection.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public final int size()
Gets the number of output intents contained in the collection.
size
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<OutputIntent>
public final boolean isReadOnly()
Gets a value indicating whether the collection is read-only.
isReadOnly
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<OutputIntent>
public final void addItem(OutputIntent item)
Adds an output intent to the collection.
addItem
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<OutputIntent>
item
- The output intent to add to the collection.com.aspose.ms.System.ArgumentNullException
- The item
is null.com.aspose.ms.System.InvalidOperationException
- The document that contains the collection has no catalog to access the OutputIntents.public final void clear()
Removes all output intents from the collection.
clear
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<OutputIntent>
public final boolean containsItem(OutputIntent item)
Determines whether the collection contains a specific output intent.
containsItem
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<OutputIntent>
item
- The output intent to locate in the collection.item
is found in the collection; otherwise, .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.
copyToTArray
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<OutputIntent>
array
- The one-dimensional array that is the destination of the output intents copied
from the collection. The array must have zero-based indexing.arrayIndex
- The zero-based index in array
at which copying begins.com.aspose.ms.System.ArgumentNullException
- array
is null.com.aspose.ms.System.ArgumentOutOfRangeException
- arrayIndex
is less than 0.com.aspose.ms.System.ArgumentException
- The number of elements in the source OutputIntents
is greater than the available space
from arrayIndex
to the end of the destination array
.public final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<OutputIntent> iterator()
Returns an enumerator that iterates through the collection.
iterator
in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<OutputIntent>
iterator
in interface com.aspose.ms.System.Collections.IEnumerable<OutputIntent>
iterator
in interface Iterable<OutputIntent>
public final boolean removeItem(OutputIntent item)
Removes the first occurrence of a specific output intent from the collection.
removeItem
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<OutputIntent>
item
- The output intent to remove from the collection.item
was successfully removed from the collection;
if item
was not found in the original collection.public final OutputIntent get_Item(int index)
Gets the output intent at the specified index
.
index
- The zero-based index of the output intent to get.index
.com.aspose.ms.System.ArgumentOutOfRangeException
- index
is less than 0 or index
is equal to or greater
than Count
(size()
).com.aspose.ms.System.InvalidOperationException
- The document that contains the collection has no catalog to access the OutputIntents.Copyright © 2023 Aspose. All Rights Reserved.