TBarCode Library 11  TBarCode Library 11
ERRCODE _stdcall 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]pBarCodePointer to barcode structure.
[in]szNameFont name.
Return values
ERRCODEErrOk (0) in case of success. Non-zero if error occurred.

© 2014 All rights reserved by TEC-IT Datenverarbeitung GmbH
Generated on Tue Aug 12 2014 12:30:33 for TBarCode Library 11 with doxygen 1.8.3.1