DestinationCollection

DestinationCollection class

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.

public sealed class DestinationCollection : ICollection<KeyValuePair<string, object>>

Properties

Name Description
Count { get; } Gets the number of elements contained in the collection.
IsReadOnly { get; } Gets a value indicating whether the collection is read-only.
Item { get; } Gets the destination object by index.

Methods

Name Description
Add(KeyValuePair<string, object>) Adds the specified item. Collection is read-only. Always throws NotSupportedException exception.
Clear() Collection is read-only. Always throws NotSupportedException exception.
Contains(KeyValuePair<string, object>) Determines whether this instance contains the object.
CopyTo(KeyValuePair<string, object>[], int)
GetEnumerator() Returns the enumerator.
GetExplicitDestination(string, bool) Returns the explicit destination by the name.
GetPageNumber(string, bool) Returns the page number of destination by the name.
IndexOf(KeyValuePair<string, object>) Returns the index of destination in collection.
Remove(KeyValuePair<string, object>) Removes the specified item. Collection is read-only. Always throws NotSupportedException exception.

See Also