TBarCode Library 11  TBarCode Library 11
sizeapi.cpp File Reference

Public API functions to query characteristics of the generated 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 pRect, 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 pRect, HDC hDC, e_MUnit eUnit, DOUBLE *pdWidth, DOUBLE *pdHeight)
 Computes the barcode size (recommended method).
DOUBLE _stdcall BCGetTextAreaHeight (t_BarCode *pBarCode, LPRECT pRect, 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

Public API functions to query characteristics of the generated barcode.

Required include file: "tbarcode.h"

Author:
TEC-IT Datenverarbeitung GmbH
Wagnerstr. 6, 4400 Steyr, AUSTRIA/EUROPE
https://www.tec-it.com
Copyright© by TEC-IT Datenverarbeitung GmbH