How to change alignment value of a text box field using PDFBox 2.0.21 (Fillable form)

57 Views Asked by At

I would like to change the text box property values of alignment property using pdf box.

Any ideas?

1

There are 1 best solutions below

0
Tilman Hausherr On BEST ANSWER

Try quadding

textBox.setQ(PDVariableText.QUADDING_CENTERED);