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