SetBarCdsz

Calls to SetBarCdsz set the current target height and width of the barcode picture in HIMETRIC units (1 unit = 0.01 mm)

Declare Function GetBarCdsz Lib "Dlsbar34" (ht as Long, wd As Long) As Long

Where ht specifies the target height and wd specifies the target width.

Note that the Width value is not used if an Xunit value has been specified as the width of the picture is then determined by the number and width of the bar elements. A positive wd value should be specified even if an Xunit value is being provided because a barcode image is created before being adjusted for the Xunit value.

The function always returns 0.

 

More:

Structure members