ERRCODE BCSetLogFont ( t_BarCode pBarCode,
const LOGFONTA *  lf 
)

Sets the font of the currently active text object (usually the human readable text - Windows only).

Sets the font characteristics used for the human readable text and the extra texts.

Note:
Pass a LOGFONTA structure. The font size in field lfHeight must be given in Point [1/72"]. We suggest to leave the field lfWidth 0. If you have to change it, you must set the width in 1/1000 mm.
Usage for printing and BCSaveImage()
 // LOGFONTA font size = size [point]  
 pFont->lfHeight = sizeInPoints; // unit = [point]
Note:
The currently active text object can be selected by calling BCSetActiveTextIndex().
We are using 8 Byte alignment!
Windows only
For UNIX use BCSetFontName() and BCSetFontHeight() instead.
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 Thu Jun 30 16:34:48 2011 for TEC-IT TBarCode Library 10 with doxygen 1.6.2