Hello,
i have to generate un BarCode :
BarCodeBuilder builder = new BarCodeBuilder();
builder.setSymbologyType(“Code128”);
builder.setCodeLocation(CodeLocation.None);
builder.setCodeText(“Text exemple”);
builder.setGraphicsUnit(GraphicsUnit.Pixel);
builder.getMargins().set(0);
BufferedImage img2 = builder.getCustomSizeBarCodeImage(new Dimension( 50, 50 ), false);
But it gives this error “Customize wanted is outside the limits”
How can one specify the dimension and what is the value that should not be exceeded ??
If I want to change it GraphicsUnit GraphicsUnit.Millimeter What is the value of the height and width that should not be exceeded ?
How does this methode work fonctiongetCustomSizeBarCodeImage ?
thank you for your help