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

    Class DocumentDestinations

    The dictionary of document destinations, provides an access to all destinations in the document:

    Hierarchy

    Index

    Accessors

    • get count(): number

      Gets the number of items in the map.

      Returns number

    • get id(): number

      Gets the reference to the object.

      Returns number

    Methods

    • Clears the collection.

      Returns void

    • Determines whether the specified key is in the collection.

      Parameters

      • key: string

      Returns boolean

      true if the key is in the collection, false otherwise.

    • Detaches the object from the ObjectManager and deallocates its memory, if possible.

      Returns void

    • Gets the item with the specified key.

      Parameters

      • key: string

      Returns DocDestination | undefined

    • Removes the item with specified key from the collection.

      Parameters

      • key: string

        The key to remove.

      Returns boolean

      true if the item with specified key was actually removed, false otherwise.