Xunit

Type: double

Default:        0.0

Allowed range:         8.0 – 255.0

The Xunit property may be used to specify the width (in Mils – thousandths of an inch) of the smallest element in the barcode.

Note that setting this property to a value other than 0 causes the image to resize itself to a width calculated from the number of X units in the barcodes – so the value of the dWidth property is ignored.

Using values smaller than 8 may produce a barcode image, but that image will not meet standard specifications and may not scan.

Note: See the effect of using a non-zero value of pixeladjust in the drawBarcode() method.

 

More:

Information properties