Change Annotations border to dashed/dotted

Which product are you using?
PDF.js Express Plus

PDF.js Express Version

Detailed description of issue
I have multiple annotations which are being rendered in my pdf when the page is opened first time.
I want some annotation’s border to be dotted or dashed instead of solid.

Expected behaviour
something like this:-

Things I tried:-


Set the Border style for the annotation, applicable values are solid (default) and cloudy.###

Here I can see that only two values ie solid and cloudy are possible but I want it dashed.

Does your issue happen with every document, or just one?

Hi there,

You can change the border style of the rectangle annotation to ‘dash’.


If you want to add this add this as an option in the dropdown, you will have to customize our UI.

Best Regards,