ERRCODE 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] pBarCode Pointer to barcode structure.
[in,out] bIgnore TRUE: Overwrite resolution of device with custom resolution.
Return values:
ERRCODE ErrOk (0) in case of success. Non-zero if error occurred.
See also:
BCGetIgnoreDpiFromDC(), BCSetDPI()

© 2008 All rights reserved by TEC-IT Datenverarbeitung GmbH
Generated on Thu Jun 30 16:34:48 2011 for TEC-IT TBarCode Library 10 with doxygen 1.6.2