Free Support Forum - groupdocs.com

Annotations Application Question


#1
Hi Pavel,

It’s been awhile since talked, how are you doing? I have one question about the GroupDocs Annotation application. It is easy for us to set the default text color and background color to a specific color of our choice? If so, where in the application can we make these updates at?


Thanks!


Ron Heinz

This message was posted using Email2Forum by pavelteplitsky.

#2

Hello Ron,


Thank you for your request. Could you please provide more info about what exactly you want to do, I mean for which annotation tools you want to set text color and background color? Or you what to change colors for dashboard of the Annotation? Currently we have only these options to change color: "TextFieldBackgroundColor " and "HighlightColor ". More info you can find here.

All other style changes could be made via overriding CSS styles.

Best regards.

#3

Hi Pavel,
We are needing the ability to change the default background color of the Typewriter tool and also the default font color of the Typewriter tool as well.

It looks like the BackgroundColor that is available is specifically for the Textbox tool, correct?

Thanks.

-Ron



#4

Hello Ron,


Thank you for coming back. Yes, you are right, we have options to set background color only for textbox tool. But you can easily set background color for the Typewriter tool with this code:
.doc_text_area_text {
background-color: red !important;
}
You should add it to the head section of the Annotation web page.

As for the font color - you can change it in such way or if you need another color you can simply add additional style code line to the code that I shared above, for example:

.doc_text_area_text {
background-color: red !important;
color: green !important;
}

But you should note that this code will change color settings for such annotation tools: text replace and watermark.

Best regards.

#5

That solution worked perfect, thank you!