TBarCode Library 11  TBarCode Library 11
ERRCODE _stdcall BCSetDCConversion ( t_BarCode pBarCode,
BOOL  bConvertDC 
)

Activates or deactivates conversion of Windows GDI drawing context (DC).

By default all DCs are internally converted, so that logical units are himetric (1/100 mm). This conversion can be turned off if the DC given to the drawing routines already uses himetrics as logical units. Or you can turn off this conversion to use a DC with custom scaling.

Parameters:
[in]pBarCodePointer to barcode structure.
[in]bConvertDCTRUE if DC should be converted. FALSE if conversion should be turned off.
Return values:
ERRCODEErrOk (0) in case of success. Non-zero if error occurred.