Specifies the barcode parameters such as type, bar height, narrow bar width, ratio of wide bar to narrow bar, orientation and border width.
void BCConfigure(WORD SymbologyType, double BarHeight, double NarrowBarWidth, double Wide2NarrowRatio, WORD Orientation, double BorderWidth); |
Parameters
SymbologyType
Specifies the barcode code type, the values of all types are listed here.
BarHeight
Specifies the bar height in centimeters, please refer to this note for more information.
NarrowBarWidth
Specifies the narrow bar width in centimeters, please refer to this note for more information.
Wide2NarrowRatio
Specifies the ratio of the wide bar to the narrow bar, typically this parameter value should be between 2 and 3.
Orientation
Specifies the orientation of the barcode, this parameter can be one of the following values:
Value |
Description |
0 |
0 degree |
1 |
90 degrees |
2 |
180 degrees |
3 |
270 degrees |
BorderWidth
Specifies the border width in centimeters, a valid value must be between 0 and 1.