# How to get destinations of contents such as figures, tables and equations in PDF?

**URL:** <https://pdfjs.community/t/how-to-get-destinations-of-contents-such-as-figures-tables-and-equations-in-pdf/1113>\
**Category:** Technical Support\
**Created:** [October 28, 2021, 10:21am UTC](https://pdfjs.community/t/how-to-get-destinations-of-contents-such-as-figures-tables-and-equations-in-pdf/1113 "2021-10-28T10:21:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![user11](https://avatars.discourse-cdn.com/v4/letter/u/dfb087/32.png) [@user11](https://pdfjs.community/u/user11)\
**Post date:** [October 28, 2021, 10:21am UTC](https://pdfjs.community/t/how-to-get-destinations-of-contents-such-as-figures-tables-and-equations-in-pdf/1113/1 "2021-10-28T10:21:33Z")

</div>

I’m using PDF.js Express Viewer 8.1.1

**Detailed description of issue**  
In PDF.js (Mozilla), the function `getDestinations` can return a mapping from named destinations to references, including figures, tables and equations, as [here](https://github.com/mozilla/pdf.js/blob/f6d9d91965a97c80b6f5b335a27cdb4d36b1b9e2/src/display/api.js#L768) says. With this function, I can set buttons in other panels that can jump to the corresponding item. However, I haven’t found an API within PDF.js Express that has similar features.

**Expected behaviour**  
I just want to know if there is a way to get the destination of the contents in PDF.js Express.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/1X/ffbcd25c7d423db8d5acd5db201c272f4db306dd.png) [@system](https://pdfjs.community/u/system)\
**Post date:** [October 28, 2021, 10:21am UTC](https://pdfjs.community/t/how-to-get-destinations-of-contents-such-as-figures-tables-and-equations-in-pdf/1113/3 "2021-10-28T10:21:38Z")

</div>

**Hello, I’m Ron, an automated tech support bot 🤖**

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

Guides:
- [Saving a document as a blob](https://pdfjs.express/documentation/basic-operations/save-document/blob)
- [Create highlight annotations in PDF.js Express](https://pdfjs.express/documentation/annotation/create-annotation-highlight)
- [API for Real-time Collaboration With PDF.js Express](https://pdfjs.express/documentation/collaboration/api)

APIs:
- [PDF.js Express Utilities](https://pdfjs.express/api/utils/index.html#__anchor)
- [UI - dangerouslySetNoteTransformFunction(noteTransformFunction)](https://pdfjs.express/api/UI.html#.dangerouslySetNoteTransformFunction__anchor)
- [ExpressUtils(optionsopt) - # async set() → {Promise.}](https://pdfjs.express/api/utils/ExpressUtils.html#set__anchor)

Forums:
- [Upload Word/Image Document](https://pdfjs.community/t/upload-word-image-document/117/2)
- [Want to get the selected picture](https://pdfjs.community/t/want-to-get-the-selected-picture/753/3)
- [How to remove the date field in the annotation](https://pdfjs.community/t/how-to-remove-the-date-field-in-the-annotation/316/1)

---

<div class="post-metadata">

**Author:** ![Logan](https://yyz1.discourse-cdn.com/flex031/user_avatar/pdfjs.community/logan/32/13_2.png) [@Logan](https://pdfjs.community/u/Logan)\
**Post date:** [November 1, 2021, 4:57pm UTC](https://pdfjs.community/t/how-to-get-destinations-of-contents-such-as-figures-tables-and-equations-in-pdf/1113/4 "2021-11-01T16:57:14Z")

</div>

Hi there!

Unfortunately we do not have any APIs to get a list of named destinations at the moment. I will put it in the backlog to investigate this and see what we can do.

Thanks,  
Logan
