TBarCode Library 11  TBarCode Library 11
qualityapi.cpp File Reference

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

Functions

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

© 2021 All rights reserved by TEC-IT Datenverarbeitung GmbH
Generated on Wed Mar 24 2021 08:45:36 for TBarCode Library 11 with doxygen 1.8.8