I would like to change the text box property values of alignment property using pdf box.
Any ideas?
Try quadding
textBox.setQ(PDVariableText.QUADDING_CENTERED);