# Programmatically highlight area on pdf using coordinates or quads

**URL:** https://pdfjs.community/t/programmatically-highlight-area-on-pdf-using-coordinates-or-quads/847
**Category:** Technical Support
**Created:** [June 24, 2021, 12:24pm UTC](https://pdfjs.community/t/programmatically-highlight-area-on-pdf-using-coordinates-or-quads/847 "2021-06-24T12:24:59Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![chats2790](https://avatars.discourse-cdn.com/v4/letter/c/34f0e0/32.png) [@chats2790](https://pdfjs.community/u/chats2790)
#### Post date: [June 24, 2021, 12:24pm UTC](https://pdfjs.community/t/programmatically-highlight-area-on-pdf-using-coordinates-or-quads/847/1 "2021-06-24T12:24:59Z")

</div>

**PDF.js Express Version**  
7.3.3

**Detailed description of issue**  
Hi team ,  
Is there a way to highlight the area on a pdf if I am getting the area coordinates from server. I could find how to highlight a searched text on your documentation but is there a way to just highlight something if I only have the coordinates not the text.

Please let me know your incites on this .

Thanks  
**Expected behaviour**  
{Provide a screenshot or description of the expected behaviour}

**Does your issue happen with every document, or just one?**  
{Answer here}

**Link to document**  
{Provide a link to the document in question if possible}

**Code snippet**  
{Provide a relevant code snippet}

---

_[View the full topic](https://pdfjs.community/t/programmatically-highlight-area-on-pdf-using-coordinates-or-quads/847)._
