itext space out number in a comb field java

159 views Asked by At

enter image description here

How do I make sure that the number are spaced are correctly?

fields.get("Page2[0].Line68bCombField[0].f2_081[0]").setValue("123456789");
fields.get("Page2[0].Line68dCombField[0].f2_082[0]").setValue("123423423444");
1

There are 1 answers

1
Joris Schellekens On

iText 7 did not (yet) support comb fields.
Support for comb fields has been added.
The functionality should soon be available in the snapshot builds.
The value can be set using the flag

PdfTextFormField.FF_COMB