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 in high quality mode that bases on specialized GDI-functionality. Some printer drivers do not handle this method correctly (invisible, too short bars or wrong clipping). 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: Method with the best performance is used (filled rectangles)
  • false: Method with highest quality method is used. This is the default.
Return values:
ERRCODE ErrOk (0) in case of success. Non-zero if error occurred.


© 2008 All rights reserved by TEC-IT Datenverarbeitung GmbH
Generated on Tue May 5 15:50:33 2009 for TEC-IT TBarCode Library 9.2 with doxygen 1.5.3