# 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:** 1\
**Showing post:** 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.

---

_[View the full topic](https://pdfjs.community/t/how-to-get-destinations-of-contents-such-as-figures-tables-and-equations-in-pdf/1113)._
