Line annotation with dash appearance

WebViewer Version: 8.9.0

Do you have an issue with a specific file(s)? No
Can you reproduce using one of our samples or online demos? No
Are you using the WebViewer server? No
Does the issue only happen on certain browsers? No
Is your issue related to a front-end framework? No
Is your issue related to annotations? Yes

Please give a brief summary of your issue:
How can I change the appearance of a line annotation to a dashed line?

Please describe your issue and provide steps to reproduce it:
I already tried the steps described in custom annotation appearances in the guide but the console prints “setLineDash not implemented”. Furthermore, everytime I re-select the annotation the custom appearance is gone. What is the best way to create a dashed line annotation?

Please provide a link to a minimal sample where the issue is reproducible:

Hello, I’m Ron, an automated tech support bot :robot:

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:


OK, found it in the documentation here: Line Annotations in WebViewer | PDFTron SDK