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 Tue May 5 15:50:33 2009 for TEC-IT TBarCode Library 9.2 with doxygen 1.5.3