makeBarcode()

Parameters:

int resolution,

int bitadjust,

int pixeladjust 

 

Return Type: void

This method does the barcode calculations (ie. The check digit, image sizes, Error property, and Status, String2 and Pattern strings), but does NOT generate an image. Other parameters are as for drawBarcode2() method.

This method is called internally whenever one of the image creating methods is called, but has been made public so that it can be called to obtain a Pattern string or check for valid barcode properties before creating an image.

If the resolution parameter is 0 then the standard Java 72 dpi resolution will be used.

More:

paint()