TBarCode Library 11  TBarCode Library 11
DOUBLE _stdcall BCGet2D_XRows ( const t_BarCode pBarCode)

Returns the height of the barcode in modules.

The measurement unit used for the return value is the module width (X). The total symbol height would be the return value of this function * X (X = module width) + height of text area (BCGetTextAreaHeight()). 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). Please contact support@tec-it.com if you have to deal with resolution (bitmap) issues.
See also:
BCGet2D_XCols(), BCGetTextAreaHeight()
Parameters:
[in]pBarCodePointer to barcode structure.
Return values:
LONGNumber of vertical modules