[]
DsPdfJS API / DestinationRef
Defines destination as reference to another destination, referenced destination can be in Dests dictionary of PDF document or in Dests subtree of Name Tree.
new DestinationRef(
om,name,nameTree?):DestinationRef
Initializes a new instance of the DestinationRef class.
ObjectManager that controls the lifetime of the DestinationRef.
string
The name of referenced destination.
boolean
Specifies where referenced destination is in Dests dictionary of document or in Dests subtree of Name Tree.
DestinationRef
DestinationBase.constructor
new DestinationRef(
name,nameTree?):DestinationRef
Initializes a new instance of the DestinationRef class.
string
The name of referenced destination.
boolean
Specifies where referenced destination is in Dests dictionary of document or in Dests subtree of Name Tree.
DestinationRef
DestinationBase.constructor
get id():
number
Gets the reference to the object.
number
get name():
string
Gets the name of referenced destination in the Dests dictionary of PDF document.
string
get nameTree():
boolean|null
Gets a value indicating whether this DestinationRef references destination in Dests dictionary of PDF document or in Dests subtree of document's Name Tree.
boolean | null
get om():
ObjectManager
Gets the owner ObjectManager instance.
free():
void
Detaches the object from the ObjectManager and deallocates its memory, if possible.
void
rebind(
omTo):void
Rebinds the object from the current ObjectManager to the specified one.
The new ObjectManager for the object.
void