# Example of text highlight xfdf annotation

**URL:** <https://pdfjs.community/t/example-of-text-highlight-xfdf-annotation/2752>\
**Category:** Technical Support\
**Created:** [July 31, 2023, 4:24pm UTC](https://pdfjs.community/t/example-of-text-highlight-xfdf-annotation/2752 "2023-07-31T16:24:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![beatriz.patriota](https://avatars.discourse-cdn.com/v4/letter/b/db5fbb/32.png) [@beatriz.patriota](https://pdfjs.community/u/beatriz.patriota)\
**Post date:** [July 31, 2023, 4:24pm UTC](https://pdfjs.community/t/example-of-text-highlight-xfdf-annotation/2752/1 "2023-07-31T16:24:19Z")

</div>

**Which product are you using?**  
PDF.js Express Plus

**Detailed description of issue**  
I need an example of a xfdf highlight annotation

---

<div class="post-metadata">

**Author:** ![tgordon](https://avatars.discourse-cdn.com/v4/letter/t/aca169/32.png) [@tgordon](https://pdfjs.community/u/tgordon)\
**Post date:** [July 31, 2023, 6:08pm UTC](https://pdfjs.community/t/example-of-text-highlight-xfdf-annotation/2752/3 "2023-07-31T18:08:01Z")

</div>

Hello beatriz.patriota,

You can retrieve this through placing a Highlight annotation then running:

```javascript
await instance.Core.annotationManager.exportAnnotations();

```

Best regards,  
Tyler
