NamedDestinationCollection

NamedDestinationCollection

Overview

NamedDestinationCollection is a class in Aspose.PDF FOSS for .NET. Inherits from: IEnumerable<NamedDestination>.

Collection of named destinations in the document.

This class provides 5 methods for working with NamedDestinationCollection objects in .NET programs. Available methods include: Add, At, FindByName, GetEnumerator, Remove. All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package. Properties: All, Count, Names.

Properties

NameTypeAccessDescription
CountintReadNumber of named destinations.
AllNamedDestination[]ReadAll destinations as an array.
Namesstring[]ReadAll destination names (catalog + user-added).

Methods

SignatureDescription
At(index: int)Get a destination by 1-based index.
Add(name: string, appointment: Aspose.Pdf.Annotations.IAppointment)Add a destination under name.
Remove(name: string)Remove the user-added destination named name.
FindByName(name: string)Find a destination by name.
GetEnumerator()Calls GetEnumerator on this NamedDestinationCollection instance.

See Also