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()
pFont->lfHeight = sizeInPoints;
- 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. |