TBarCode Library 11  TBarCode Library 11
LONG _stdcall BCGet2D_XCols ( const t_BarCode pBarCode)

Returns the width of the barcode in modules.

The measurement unit used for the return value is the module width (X). The total symbol width would be the return value of this function * X (X = module width). Can be used for BCSaveImage() to optimize the resolution of the resulting image.

Note:
To be used with 2D symbologies and all composite codes (with a 2D composite component).
See also:
BCGet2D_XRows(), BCGetTextAreaHeight()
Parameters:
[in]pBarCodePointer to barcode structure.
Return values:
LONGNumber of horizontal modules