[]
The dictionary of document destinations, provides an access to all destinations in the document:
PdfStringMap<DocDestination>get count(): number;
Gets the number of items in the map.
number
PdfStringMap.count
get id(): number;
Gets the reference to the object.
number
PdfStringMap.id
get om(): ObjectManager;
Gets the owner ObjectManager instance.
PdfStringMap.om
add(key, item): void;
Adds the item with the specified key.
string
The item key.
| DocDestination
| DocDestinationProperties
The item to add.
void
PdfStringMap.add
clear(): void;
Clears the collection.
void
PdfStringMap.clear
contains(key): boolean;
Determines whether the specified key is in the collection.
string
boolean
true if the key is in the collection, false otherwise.
PdfStringMap.contains
free(): void;
Detaches the object from the ObjectManager and deallocates its memory, if possible.
void
PdfStringMap.free
get(key): DocDestination;
Gets the item with the specified key.
string
PdfStringMap.get
rebind(omTo): void;
Rebinds the object from the current ObjectManager to the specified one.
The new ObjectManager for the object.
void
PdfStringMap.rebind
remove(key): boolean;
Removes the item with specified key from the collection.
string
The key to remove.
boolean
true if the item with specified key was actually removed, false otherwise.
PdfStringMap.remove
set(key, item): void;
Sets the item with the specified key.
string
The item key.
| DocDestination
| DocDestinationProperties
The object to set.
void
PdfStringMap.set