multibcapi.cpp File Reference

Public API functions to automatically split up data and draw multiple barcodes (Multiple Barcodes mode). More...


Functions

BOOL BCGet_MultiBC_Enabled (t_BarCode *pBarCode)
 Returns TRUE if drawing of multiple barcodes is enabled.
ERRCODE BCSet_MultiBC_Enabled (t_BarCode *pBarCode, BOOL bOn)
 Enables/disables drawing of multiple barcodes for large data sets.
LONG BCGet_MultiBC_Rows (t_BarCode *pBarCode)
 Returns number of rows for Multiple Barcodes mode.
ERRCODE BCSet_MultiBC_Rows (t_BarCode *pBarCode, INT nNumRows)
 Sets the number of rows that should be drawn in Multiple Barcodes mode.
LONG BCGet_MultiBC_Columns (t_BarCode *pBarCode)
 Returns number of columns for Multiple Barcodes mode.
ERRCODE BCSet_MultiBC_Columns (t_BarCode *pBarCode, INT nNumCols)
 Sets the number of columns that should be drawn in Multiple Barcodes mode.
LONG BCGet_MultiBC_HDist (t_BarCode *pBarCode)
 Returns the minimum horizontal distance between multiple barcodes.
ERRCODE BCSet_MultiBC_HDist (t_BarCode *pBarCode, LONG nDistance)
 Sets the minimum horizontal distance between multiple barcodes in 1/1000 mm.
LONG BCGet_MultiBC_VDist (t_BarCode *pBarCode)
 Returns the minimum vertical distance between multiple barcodes in 1/1000 mm.
ERRCODE BCSet_MultiBC_VDist (t_BarCode *pBarCode, LONG nDistance)
 Sets the minimum vertical distance between multiple barcodes in 1/1000 mm.
LONG BCGet_MultiBC_DataLimit (t_BarCode *pBarCode)
 Returns the max number of bytes per barcode.
ERRCODE BCSet_MultiBC_DataLimit (t_BarCode *pBarCode, LONG nLimit)
 Sets the max number of bytes per barcode.
e_StructuredAppendMode BCGet_MultiBC_StructApp (t_BarCode *pBarCode)
 Returns the structured append mode.
ERRCODE BCSet_MultiBC_StructApp (t_BarCode *pBarCode, e_StructuredAppendMode eSAM)
 Sets the structured append mode.
e_DynamicBoundingRect BCGet_MultiBC_DynamicBoundingRect (t_BarCode *pBarCode)
 Gets bounding rectangle mode.
ERRCODE BCSet_MultiBC_DynamicBoundingRect (t_BarCode *pBarCode, e_DynamicBoundingRect eBoundingRect)
 Sets bounding rectangle mode.
ERRCODE BC_MultiBC_CalculateLayout (t_BarCode *pBarCode, HDC hDC, LPCRECT pRect, INT *pnRequiredWidth, INT *pnRequiredHeight)
 Calculates the layout for multiple barcodes.


Detailed Description

Public API functions to automatically split up data and draw multiple barcodes (Multiple Barcodes mode).

Required include file: "tbarcode.h" In this mode several barcodes are generated automatically if the given data is too much for one barcode.
Additionally multiple barcodes are generated automatically if the provided space (bounding rectangle is too small for a single large barcode. In this case TBarCode will try to encode the data into several smaller barcodes which fit into the given area.
The Multiple Barcodes mode was designed to support scenarios in which the amount of data is too much for a single barcode.

Note:
Only 2D barcodes should be used with this mode. Normally, linear barcodes are inadequate to support large amounts of data.
Author:
TEC-IT Datenverarbeitung GmbH
Wagnerstr. 6, 4400 Steyr, AUSTRIA/EUROPE
http://www.tec-it.com
Copyright© by TEC-IT Datenverarbeitung GmbH

© 2008 All rights reserved by TEC-IT Datenverarbeitung GmbH
Generated on Tue May 5 15:50:26 2009 for TEC-IT TBarCode Library 9.2 with doxygen 1.5.3