public final class DestinationCollection
extends com.aspose.ms.System.Collections.ReadOnlyCollectionBase
Class represents the collection of all destinations (a name tree mapping name strings to destinations (see 12.3.2.3, "Named Destinations") and (see 7.7.4, "Name Dictionary")) in the pdf document.
Modifier and Type | Method and Description |
---|---|
boolean |
contains(Object value)
Determines whether a destination is in collection or not.
|
Object |
get_Item(int index)
Gets the destination object by index.
|
ExplicitDestination |
getExplicitDestination(String destinameName,
boolean useCache)
Returns the explicit destination by the name.
|
int |
getPageNumber(String destinameName,
boolean useCache)
Returns the page number of destination by the name.
|
int |
indexOf(Object value)
Returns the index of destination in collection.
|
com.aspose.ms.System.Collections.IEnumerator |
iterator()
Returns the enumerator.
|
int |
size()
Destinations count
|
copyTo, getSyncRoot, isSynchronized
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public Object get_Item(int index)
Gets the destination object by index.
index
- The index of destination to get.public int getPageNumber(String destinameName, boolean useCache)
Returns the page number of destination by the name.
destinameName
- The name of destination.useCache
- Determines whether cached version of collection is used or not.public ExplicitDestination getExplicitDestination(String destinameName, boolean useCache)
Returns the explicit destination by the name.
destinameName
- The name of destination.useCache
- Determines whether cached version of collection is used or not.public com.aspose.ms.System.Collections.IEnumerator iterator()
Returns the enumerator.
public int indexOf(Object value)
Returns the index of destination in collection.
value
- The value to find.public boolean contains(Object value)
Determines whether a destination is in collection or not.
value
- The value to find.public int size()
size
in interface com.aspose.ms.System.Collections.ICollection
size
in class com.aspose.ms.System.Collections.ReadOnlyCollectionBase
Copyright © 2018 Aspose. All Rights Reserved.