As part of our business process, we are trying to read an existing PDF (generated outside our application) and update the presentation (add a border / background color) for certain form fields.
However we are unable to locate the associated API for this.
Sample code-
pdfDoc.getForm().getFields().getFormField("firstName")
//where pdfDoc is instance of MergeDocument
//returns instance of com.cete.dynamicpdf.forms.TextField
Noticed that com.cete.dynamicpdf.pageelements.forms.TextField
has API to set background color and border style but com.cete.dynamicpdf.forms.TextField does NOT.
Can you suggest a way to acheive this using existing API ?