Hi All,
I have pre-created the pdf with form fields in the foxit pdf editor. In foxit, there is an option for me to disable the highlight of the form field, so as it will not "blocked" the text behind when user is filling the form.
e.g. Bef/After
May I check if the syncfusion pdf viewer provides a method to disable the form field highlight, as currently the formfield highlight is blocking the text behind, if I render it on the pdf viewer component.
e.g. (Unable to see the Y/N)
Thank you for your help.
|
var formfields = this.viewer.retrieveFormFields();
this.viewer.formDesigner.updateFormField(formfields[0].id, {
isReadOnly: true,
});
|
Hi Shamini
Thanks for your reply. I need it to be fillable, but not needed to highlight the field. As you can see from the 1st image, in the other pdf editor, the field is still accessible even after I disabled the highlight in that editor.
Is there such method to disable the highlight in the syncfusion api?
Thanks for your help!
Lee
|
var formfields = this.viewer.retrieveFormFields();
this.viewer.formDesigner.updateFormField(formfields[0].id, {
backgroundColor: '#fff',
});
|
Hi Shamini
Thanks, Able to set to transparent using