Calls to GetBarCdsz provide the setting for 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 receives the target height and wd receives 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. The function always returns 0.
More: