TBarCode Library 11  TBarCode Library 11
Size Queries

Functions for retrieving the size of the barcode. More...

Functions

DOUBLE _stdcall BCGet2D_XRows (const t_BarCode *pBarCode)
 Returns the height of the barcode in modules.
LONG _stdcall BCGet2D_XCols (const t_BarCode *pBarCode)
 Returns the width of the barcode in modules.
DOUBLE _stdcall BCGetCountModules (const t_BarCode *pBarCode)
 Returns the number of modules in the barcode.
LONG _stdcall BCGetCountRows (const t_BarCode *pBarCode)
 Returns the number of rows in the barcode.
DOUBLE _stdcall BCGetModuleWidth (t_BarCode *pBarCode, LPRECT pRectBounding, HDC hDC, e_MUnit eUnit)
 Returns the module width.
DOUBLE _stdcall BCGetBarcodeWidth (t_BarCode *pBarCode, LPRECT pRect, HDC hDC, e_MUnit eUnit)
 Returns the total width of the barcode symbol.
DOUBLE _stdcall BCGetBarcodeHeight (t_BarCode *pBarCode, LPRECT pRect, HDC hDC, e_MUnit eUnit)
 Returns the height of the barcode symbol.
ERRCODE _stdcall BCGetBarcodeSize (t_BarCode *pBarCode, LPRECT pRectBounding, HDC hDC, e_MUnit eUnit, DOUBLE *pdWidth, DOUBLE *pdHeight)
 Computes the barcode size (recommended method).
DOUBLE _stdcall BCGetTextAreaHeight (t_BarCode *pBarCode, LPRECT pRectBounding, HDC hDC, e_MUnit eUnit)
 Returns the height of the human readable text area.
ERRCODE _stdcall BCGetOptimalBitmapSize (t_BarCode *pBarCode, LPRECT pRect, LONG nScaleX, LONG nScaleY)
 Returns the optimal size of a bitmap for given bar code settings.

Detailed Description

Functions for retrieving the size of the barcode.

Note:
All of these functions are optional - but must be called after BCCreate().