Free Text color is not getiing changed through the Webviewer API

WebViewer Version: 8.6.1

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

Please give a brief summary of your issue:
(Think of this as an email subject)
I am making Free Text annotation programmatically. I need to change the font color of the free text.

Please describe your issue and provide steps to reproduce it:
(The more descriptive your answer, the faster we are able to help you)

        const freeText = new Annotations.FreeTextAnnotation();
        freeText.Color = new Annotations.Color(0, 0, 0);

The freeText text color is not getting reflected when i am using the above code.
Can u please give me any code snippets or link to change the color

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:


Hello @indranath,

The correct property for text color is TextColor

Remember that after changing a property you will need to re-render your annotation with drawAnnotationsFromList.

If you are simply creating annotations programatically this is not needed as they will be rendered when you add them to the annotation manager.

Best Regards,
Armando Bollain
Software Developer
PDFTron Systems, Inc.