Please give a brief summary of your issue:
I want to set some background color opacity to the Text and Signature widgets. I am setting background using ColorPT with r,g,b values but unable to add opacity to it. Is there a way to achieve it?
Please describe your issue and provide steps to reproduce it:
(The more descriptive your answer, the faster we are able to help you)
Please provide a link to a minimal sample where the issue is reproducible:
Hello, I’m Ron, an automated tech support bot
While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:
You do not have to set a transparent background, it is the default. The problem is that this is mostly controlled by the PDF viewer. For more information view the following forum posts:
Hi Mark, the tricky part is that different vendors deal with widgets differently and have their own field highlighting logic. I want to make it clear that when you see the red outline in Adobe for example, that isn’t the widget color defined on it. That’s the software’s interpretation (you can even change this color in preference)
So most annotations the color fill/border color is defined by the annotation itself. But for Widgets, if Field Highlighting is turned on, then the viewer controls the…
You should not have to do anything to have a transparent background, that is the “default”. Actually most PDF viewers will auto-highlight form fields at runtime.
The following code will add a text field with no background.
// DEBUG - add dummy page to make the example clearer
Page blank_page = doc.PageCreate();
var builder = new ElementBuilder();
var writer = new ElementWriter();
var element = builder.CreateRect(0, 0, blank_p…