TBarCode Library 11  TBarCode Library 11

◆ BCSetIgnoreDpiFromDC()

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

© 2022 All rights reserved by TEC-IT Datenverarbeitung GmbH
Generated on Wed May 18 2022 11:16:25 for TBarCode Library 11 with doxygen 1.8.17