I am trying to set BorderColor to an AcroField of my PDF.
We are using an iText version that is at least 5 years old. I dont see any class named BaseColor
in that version, whereas I've seen the following code being used in more recent versions of the iText library:
AcroFields form = New AcroFields ();
form.setFieldProperty("text_2", "bordercolor", BaseColor.RED, null);
Is there are anyway I can successfully use BaseColor
in the obsolete versions of iText?
I also have a follow-up question: Can I find bordercolor of a field in PDF using iText?