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()


© 2007 All rights reserved by TEC-IT Datenverarbeitung GmbH
Generated on Tue Nov 27 14:28:02 2007 for TEC-IT TBarCode Library 8.0.0 with doxygen 1.5.3