Webviewer update default color

WebViewer Version: 10.11.1

Please give a brief summary of your issue:
The default color for free text or annotation is read, I want to change that to blue
is this possible to customize this list? so the user doesn’t have to keep pressing the button
image

The list of item I want to update:

Annotate:

  1. Highlight
  2. Rectangle
  3. Free hand highlight
  4. Free hand
  5. Note

Shapes:

  1. Rectangle
  2. Free hand highlight
  3. Free hand

Hello Jackson,

Thank you for contacting WebViewer Forums.

To change the default styles of the tools, you can get the tool and call setStyles(). For more information, please visit this documentation here on how to change the default styling: Customizing-default-annotation-styles | Apryse Documentation

Regards,
Luke

Thanks, it works, where can I get all the tool names?

Hello Jackson,

Glad it is working for you. To get the name of all the tools, you can access them with the following code:

instance.Core.Tools.ToolNames

Regards,
Luke