ERRCODE BCSetDPI ( t_BarCode pBarCode,
DOUBLE  dDPIHorz,
DOUBLE  dDPIVert 
)

Sets user defined resolution.

Sets output resolution to be used in bar code drawing / calculation functions. If not set (default), the resolution of the available device context is used (e.g. screen resolution or printer resolution). Can be used to estimate the quality of a bar code for a specific output resolution (BCGetQuality()). For other purposes this function should be used careful, because bar code dimensions can change unexpectedly.

See also:
BCGetDPIHorz(), BCGetDPIVert()
Parameters:
[in] pBarCode Pointer to barcode structure.
[in] dDPIHorz User defined horizontal DPI (-1 ... reset to default).
[in] dDPIVert User defined vertical DPI (-1 ... reset to default) ==> Parameter is currently not used.
Return values:
ERRCODE ErrOk (0) in case of success. Non-zero if error occurred.


© 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