TBarCode Library 11  TBarCode Library 11

◆ BCSetDrawMode()

ERRCODE TECIT_STDCALL 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]pBarCodePointer to barcode structure.
[in]bUseGDIRectUse 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
ERRCODEErrOk (0) in case of success. Non-zero if error occurred.

© 2022 All rights reserved by TEC-IT Datenverarbeitung GmbH
Generated on Wed May 18 2022 11:16:25 for TBarCode Library 11 with doxygen 1.8.17