Otherwise, it is getting a little bit tricky (more about that below).įor changing the text color you would proceed like this (the field affected shall be called "myLabel"), and when the box is checked, it means that the field should have black text the code goes into the mouseUp event of the checkBox/radioButton: if (event. If the text is in a field (regular or richText), it is easy, by setting the textColor property. renderHighlightContent RenderHighlightContentProps > ReactElement, Render the highlighted texts before you are going to do something with the selected text. That said, now looking at the text issue. The highlight text tool is a square button that has the letter. In other words, with Checkboxes, "Off" is a legal answer, whereas with Radiobuttons it is not. Select Comment & Markups and the Highlight Text tool.
Radiobuttons and Checkboxes are essentially identical, with one difference: Once an option of a set of radio buttons has been selected, it is no longer possible (for the user) to uncheck it there will always be one option of the set selected, whereas with a set of checkboxes (same name, different return value), it is possible to uncheck. In this video, I will show you, Text Highlight in a PDF Document using Foxit PhantomPDF, Premium Service.