ERRCODE BCSetLogFont ( t_BarCode pBarCode,
const LOGFONTA *  lf 
)

Sets the font for the human readable text (Windows only).

Sets the font characteristics used for the human readable text.

Note:
Pass a LOGFONTA structure whose lfHeight field must be set to the Point size [1/72"] of the font.

Usage for printing and BCSaveImage()

 LOGFONTA font size = size [point]  

Usage for painting on the screen device context

 pFont->lfHeight = -MulDiv (pointsize, dc. GetDeviceCaps (LOGPIXELSY), 72);

We are using 8 Byte alignment!

Windows only

See also:
BCGetLogFont()
Parameters:
[in] pBarCode Pointer to barcode structure.
[in] lf Pointer to LOGFONTA structure.
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