TBarCode Library 11 TBarCode Library 11

◆ BCSetBarShapeA()

ERRCODE TECIT_STDCALL BCSetBarShapeA ( t_BarCode * pBarCode,
e_BarShape eShape,
LPCSTR szImageFile )

Sets the bar shape of the barcode.

Attention
For average use we strongly recommend to use only bar shape "eBarShape_Default". Using another mode can endanger readability.
A change does make only sense for special applications like advertisements, fun barcodes, etc., that do not enforce the readability of the barcodes.
See also
BCGetBarShape(), BCGetBarShape_ImageFileName()
Parameters
[in]pBarCodePointer to barcode structure.
[in]eShapeBar Shape.
[in]szImageFileNot Implemented Yet Name of the image file. This parameter is used only together with shape "eBarShape_Image". It contains the name of the image file which is used for drawing the bars. For any other shape this parameter is ignored.
Return values
ERRCODEErrOk (0) in case of success. Non-zero if error occurred.

© 2026 All rights reserved by TEC-IT Datenverarbeitung GmbH
Generated on for TBarCode Library 11 with doxygen 1.15.0