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
| Name | Type | Access | Description |
|---|---|---|---|
Count | int | Read | Number of named destinations. |
All | NamedDestination[] | Read | All destinations as an array. |
Names | string[] | Read | All destination names (catalog + user-added). |
Methods
| Signature | Description |
|---|---|
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. |