TBarCode Library 11  TBarCode Library 11
qualityapi.cpp File Reference

Public API functions to set the barcode size and quality. More...

Functions

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

Detailed Description

Public API functions to set the barcode size and quality.

Required include file: "tbarcode.h"

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

© 2014 All rights reserved by TEC-IT Datenverarbeitung GmbH
Generated on Tue Aug 12 2014 12:30:33 for TBarCode Library 11 with doxygen 1.8.3.1