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. |