TBarCode Library 11  TBarCode Library 11
ERRCODE _stdcall BCSetIgnoreDpiFromDC ( t_BarCode pBarCode,
BOOL  bIgnore 
)

Determines whether TBarCode shall ignore the resolution from the device context (Windows only).

In some (rare) cases the Windows GDI device context does not contain a valid resolution. In such cases you can overwrite the resolution of the device context with a custom resolution. Use BCSetDPI() to set the custom resolution.

Note:
This flag is only relevant for Windows GDI drawing routines.
Parameters:
[in,out]pBarCodePointer to barcode structure.
[in,out]bIgnoreTRUE: Overwrite resolution of device with custom resolution.
Return values:
ERRCODEErrOk (0) in case of success. Non-zero if error occurred.
See also:
BCGetIgnoreDpiFromDC(), BCSetDPI()