Free Support Forum - aspose.com

How to set BarCode Quiet Zone in Java

Hi All,

Help Any one please clarify can we set the quiet zone(lett,right) in the java 20.10 version? if so what the new method are?

Thanks,

BarcodeGenerator.getParameters().getBarcode().getPadding()

Hi.
In greater detail. For example, you can configure like this:
BarcodeGenerator barcodeGenerator = new BarcodeGenerator(EncodeTypes.QR);
barcodeGenerator.getParameters().getBarcode().getPadding().getBottom().setMillimeters(0.5f);

Thank for the details instruction.

thanks