TBarCode Library 11  TBarCode Library 11
Module Width and Barcode Quality

Functions for specifying how the module width of the barcode should be set. More...

Functions

DOUBLE BCGetDPIHorz (t_BarCode *pBarCode)
 Gets current user-defined horizontal resolution. More...
 
DOUBLE BCGetDPIVert (t_BarCode *pBarCode)
 Gets current user-defined vertical resolution. More...
 
ERRCODE BCSetDPI (t_BarCode *pBarCode, DOUBLE dDPIHorz, DOUBLE dDPIVert)
 Sets user defined resolution. More...
 
BOOL BCGetMustFit (t_BarCode *pBarCode)
 Returns if the barcode must fit into the bounding rectangle. More...
 
ERRCODE BCSetMustFit (t_BarCode *pBarCode, BOOL bMustFit)
 Checks if the barcode fits into the bounding rectangle. More...
 
BOOL BCGetOptResolution (t_BarCode *pBarCode)
 Gets current barcode optimizing behavior. More...
 
e_SizeMode BCGetSizeMode (const t_BarCode *pBarCode)
 Retrieves the mode that determines the barcode size. More...
 
ERRCODE BCSetSizeMode (t_BarCode *pBarCode, e_SizeMode mode)
 Sets the mode that determines the barcode size. More...
 
LPCSTR BCGetModWidthA (t_BarCode *pBarCode)
 Gets the current module width (value is returned as string). More...
 
ERRCODE BCSetModWidthA (t_BarCode *pBarCode, LPCSTR szModWidth)
 Sets a fixed module width (value is passed as string [0.001 mm]). More...
 
DOUBLE BCGetModWidthN (t_BarCode *pBarCode)
 Gets the module width. More...
 
ERRCODE BCSetModWidthN (t_BarCode *pBarCode, DOUBLE moduleWidth)
 Sets a fixed module width (value is passed as numeric parameter [0.001 mm]). More...
 
e_Decoder BCGetDecoder (t_BarCode *pBarCode)
 Returns the type of decoder that will be used to read this barcodes. More...
 
ERRCODE BCSetDecoder (t_BarCode *pBarCode, e_Decoder eDecoder)
 Sets the type of decoder that will be used to read this barcodes. More...
 
DOUBLE BCGetBarWidthReduction (t_BarCode *pBarCode)
 Gets current bar-width reduction value. More...
 
e_MUnit BCGetBarWidthReductionUnit (t_BarCode *pBarCode)
 Gets current bar-width reduction unit. More...
 
ERRCODE BCSetBarWidthReduction (t_BarCode *pBarCode, DOUBLE dValue, e_MUnit eUnit)
 Sets bar-width reduction (Pixel-Shaving) in given unit. More...
 
LONG BCGetQuality (t_BarCode *pBarCode, HDC hDC, RECT *pRectBounding)
 Returns drawing quality estimate of the barcode (in percent) (Windows only). More...
 
ERRCODE BCSetOptResolution (t_BarCode *pBarCode, BOOL bOpt)
 Optimize barcode resolution. More...
 
ERRCODE BCSetIgnoreDpiFromDC (t_BarCode *pBarCode, BOOL bIgnore)
 Determines whether TBarCode shall ignore the resolution from the device context (Windows only). More...
 

Detailed Description

Functions for specifying how the module width of the barcode should be set.

Under normal circumstances TBarCode computes the module width automatically. For some applications this standard behavior must be changed. These functions also support the user when optimizing barcode quality (and therefore enhancing readability).


© 2023 All rights reserved by TEC-IT Datenverarbeitung GmbH
Generated on Wed Apr 10 2024 13:55:57 for TBarCode Library 11 with doxygen 1.9.1