Checkboxes and radio button color change

WebViewer Version:10.4.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?yes
Does the issue only happen on certain browsers?no
Is your issue related to a front-end framework?yes
Is your issue related to annotations?yes

Please give a brief summary of your issue:
i just want checkboxes and radio button color change of the tick or check and dot of radio button

1 Like

Thank you for posting your question to our forum. We will provide you with an update as soon as possible.

1 Like

Hi there,

You can change the color of the ‘tick’ of the radio/check buttons by modifying the fillColor:
i.e.

// Assuming 'annotation' is your checkbox or radio button annotation
annotation.font.fillColor = new Annotations.Color(255, 0, 0)
await annotationManager.redrawAnnotation(annotation)

Best regards,
Kevin Kim

1 Like

not work after apply its change to black only

Hi there,

Can you try this on the latest version of WebViewer? (10.10.1)
On the showcase, I am able to set the 4th radio box element to red:

Best regards,
Kevin Kim

1 Like

Hi,

I still have a problem, what was suggested did not work.

1 Like

Hi there,

Can you please share the code snippet tried and what was the expected/actual result?

Are you able to reproduce this on the latest version of WebViewer? (i.e. the showcase demo https://showcase.apryse.com/)

Best regards,
Kevin Kim

1 Like