NamedDestinationCollection

Inheritance: java.lang.Object, com.aspose.pdf.nameddestinations.NamedDestinationCollection

All Implemented Interfaces: INamedDestinationCollection

public class NamedDestinationCollection extends Object implements INamedDestinationCollection

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.

Methods

MethodDescription
addAdd new named destination.
get_ItemGets or sets appointment by its name.
getNamesList of names of the destinations.
isEmpty
removeDelete named destination.
set_ItemGets or sets appointment by its name.
sizeCount of named destinations.

add

Add new named destination.

get_Item

Gets or sets appointment by its name.

getNames

public String [] getNames()

List of names of the destinations.

Returns: Array of String values

isEmpty

public boolean isEmpty()

Returns: boolean value

remove

Delete named destination.

set_Item

Gets or sets appointment by its name.

size

public int size()

Count of named destinations.

Returns: int value