ERRCODE BCSetFontNameA ( t_BarCode pBarCode,
const CHAR *  szName 
)

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

The name of the font depends on the output format, for example:

  • Postscript accepts names such as Helvetica, Courier, Times-Roman, Helvetica-Bold, etc.
  • PCL accepts names and font numbers such as Helvetica (maps to 16602), Times (maps to 4101), Courier (maps to 4099) or any font number (optional: name and number can be followed by 'Bold')

Consult a Postscript or PCL reference for more information.

Note:
The currently active text object can be selected by calling BCSetActiveTextIndex().
Parameters:
[in] pBarCode Pointer to barcode structure.
[in] szName Font name.
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