DsPdfJS API - v9.1.0
    Preparing search index...

    Class 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.

    Hierarchy (View Summary)

    Index

    Constructors

    Accessors

    Methods

    Constructors

    • Initializes a new instance of the DestinationRef class.

      Parameters

      • om: ObjectManager

        ObjectManager that controls the lifetime of the DestinationRef.

      • name: string

        The name of referenced destination.

      • OptionalnameTree: boolean

        Specifies where referenced destination is in Dests dictionary of document or in Dests subtree of Name Tree.

      Returns DestinationRef

    • Initializes a new instance of the DestinationRef class.

      Parameters

      • name: string

        The name of referenced destination.

      • OptionalnameTree: boolean

        Specifies where referenced destination is in Dests dictionary of document or in Dests subtree of Name Tree.

      Returns DestinationRef

    Accessors

    • get id(): number

      Gets the reference to the object.

      Returns number

    • get name(): string

      Gets the name of referenced destination in the Dests dictionary of PDF document.

      Returns 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.

      Returns boolean | null

    Methods