Aspose::Pdf::DestinationCollection class

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.

class DestinationCollection : public System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<System::Object>>>

Methods

MethodDescription
Add(const System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<System::Object>>&) overrideAdds the specified item. Collection is read-only. Always throws NotSupportedException exception.
Clear() overrideCollection is read-only. Always throws NotSupportedException exception.
Contains(const System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<System::Object>>&) const overrideDetermines whether this instance contains the object.
CopyTo(System::ArrayPtr<System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<System::Object>>>, int32_t) overrideCopies the elements of the collection to an Array, starting at a particular Array index.
get_Count() const overrideGets the number of elements contained in the collection.
get_IsReadOnly() const overrideGets a value indicating whether the collection is read-only.
GetEnumerator() overrideReturns the enumerator.
GetExplicitDestination(System::String, bool)Returns the explicit destination by the name.
GetPageNumber(System::String, bool)Returns the page number of destination by the name.
idx_get(int32_t)Gets the destination object by index.
IndexOf(System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<System::Object>>) constReturns the index of destination in collection.
Remove(const System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<System::Object>>&) overrideRemoves the specified item. Collection is read-only. Always throws NotSupportedException exception.

See Also