# Set opacity to 100% programatically

**URL:** <https://pdfjs.community/t/set-opacity-to-100-programatically/141>\
**Category:** Technical Support\
**Created:** [July 16, 2020, 6:22pm UTC](https://pdfjs.community/t/set-opacity-to-100-programatically/141 "2020-07-16T18:22:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![abhishek11.maurya199](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@abhishek11.maurya199](https://pdfjs.community/u/abhishek11.maurya199)\
**Post date:** [July 16, 2020, 6:22pm UTC](https://pdfjs.community/t/set-opacity-to-100-programatically/141/1 "2020-07-16T18:22:44Z")

</div>

Hello @zzhang,

how can i set opacity of eraser to 100% programatically?

Regards  
Abhishek Maurya

---

<div class="post-metadata">

**Author:** ![abhishek11.maurya199](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@abhishek11.maurya199](https://pdfjs.community/u/abhishek11.maurya199)\
**Post date:** [July 22, 2020, 2:15pm UTC](https://pdfjs.community/t/set-opacity-to-100-programatically/141/2 "2020-07-22T14:15:45Z")

</div>

Hello @Logan  
Due to urgency of the requirements could you help me with above question.

Regards  
Abhishek Maurya

---

<div class="post-metadata">

**Author:** ![zzhang](https://avatars.discourse-cdn.com/v4/letter/z/b9e5f3/32.png) [@zzhang](https://pdfjs.community/u/zzhang)\
**Post date:** [July 22, 2020, 3:16pm UTC](https://pdfjs.community/t/set-opacity-to-100-programatically/141/3 "2020-07-22T15:16:55Z")

</div>

Hi,

This guide might be helpful [https://pdfjs.express/documentation/annotation/customizing-default-annotation-styles](https://pdfjs.express/documentation/annotation/customizing-default-annotation-styles)

Thanks,  
Zhijie

---

<div class="post-metadata">

**Author:** ![abhishek11.maurya199](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@abhishek11.maurya199](https://pdfjs.community/u/abhishek11.maurya199)\
**Post date:** [July 22, 2020, 6:00pm UTC](https://pdfjs.community/t/set-opacity-to-100-programatically/141/4 "2020-07-22T18:00:44Z")

</div>

thank you! this helps

---

<div class="post-metadata">

**Author:** ![zzhang](https://avatars.discourse-cdn.com/v4/letter/z/b9e5f3/32.png) [@zzhang](https://pdfjs.community/u/zzhang)\
**Post date:** [July 23, 2020, 3:37pm UTC](https://pdfjs.community/t/set-opacity-to-100-programatically/141/5 "2020-07-23T15:37:59Z")

</div>


