Print  Email 
 

1D Class Properties

dBarcode Java class properties fall into two categories - those that are required to specify characteristics of the barcode image, and those that provide information about the barcode. For those properties and methods that are common to both 1D and 2D barcode types see Common Properties and Methods.

All the former (with the exception of the Serial property) may be set by using the setProperty() methods, eg.

Barcode.setAutoCheck(true);

or byt using the setParam(Propertyname, Propertyvalue) method, eg.

Barcode.setParam(“AUTOCHECK”,”1”);

and interrogated using the getProperty() methods, eg.

Boolean bt=Barcode.getAutoCheck();

 

More:

Alignment

AutoCheck

BarRatio

BearerSize

BothBearers

CodeType

dHeight

ExtendBearers

Extra1

Extra2

Font

Indicators

MarginSize

ShowCheck

ShowText