TBarCode Library 11  TBarCode Library 11
ERRCODE TECIT_STDCALL 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()
1 // LOGFONTA font size = size [point]
2 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]pBarCodePointer to barcode structure.
[in]lfPointer to LOGFONTA structure.
Return values
ERRCODEErrOk (0) in case of success. Non-zero if error occurred.

© 2019 All rights reserved by TEC-IT Datenverarbeitung GmbH
Generated on Thu Apr 11 2019 07:58:56 for TBarCode Library 11 with doxygen 1.8.8