ERRCODE BCSetDrawMode ( t_BarCode pBarCode,
BOOL  bUseGDIRect 
)

Selects the method for drawing bars (Windows only).

Sets the GDI drawing-method used for painting the bars. TBarCode normally draw bars with specialized GDI-functionality. Some printer drivers do not handle this method correctly (invisible or too short bars). If this happens activate the conventional method (bars are drawn as filled rectangles). The conventional method may result in decreased barcode quality for devices with low output resolution.

See also:
BCGetDrawMode()
Parameters:
[in] pBarCode Pointer to barcode structure.
[in] bUseGDIRect Use GDI DrawRect for drawing.
  • true: Conventional method is used (filled rectangles)
  • false: Advanced (and more accurate) method is used. This is the default.
Return values:
ERRCODE ErrOk (0) in case of success. Non-zero if error occurred.


© 2006 All rights reserved by TEC-IT Datenverarbeitung GmbH
Generated on Thu Dec 7 13:38:28 2006 for TEC-IT TBarCode Library 7.0.4 with doxygen 1.4.7