It's not possible to set the Allignment to an Barcode. (for images it's possible to set for example hAlign="Center")
There is a workaround by creating the barcode within an expression and assign it to an image:
e.g. Image Expression:
new net.sf.jasperreports.components.barbecue.BarbecueRenderer(net.sourceforge.barbecue.BarcodeFactory.create3of9($V{barcode}, false))
Recommended Comments