Hello Team,
I inserted Checkbox in Word by the following command.
builder.InsertCheckBox
Now i have Checkbox with Grey Background. I want to show a with white background for a check box.
Please advise me what I should do.
Thanks
Hello Team,
I inserted Checkbox in Word by the following command.
builder.InsertCheckBox
Now i have Checkbox with Grey Background. I want to show a with white background for a check box.
Please advise me what I should do.
Thanks
Hi
Thanks you for your request. CheckBoxes are inserted as formfields and MS Word highlight all formfields with gray background. This is by default.
You can disable this option in MS Word.
Try like this
builder.Font.HighlightColor = Color.Transparent;
builder.InsertCheckBox("chk", false, 10);
Now checkbox must have white/transparent background.
Hi there,
Thanks for your inquiry.
You can also turn off the shaded background of a form field by using the code below.
doc.ShadeFormData = false;
If you have any further queries, please feel free to ask.
Thanks,