Functions | |||||
| LONG | BCGetMaximumTextIndex () | ||||
Gets the maximum text index. Returns the maximum index of available text objects.
| |||||
| LONG | BCGetActiveTextIndex (t_BarCode* pBarCode) | ||||
| Gets the currently active text index. Returns the index of the currently active/selected text. A return value of \li 0 ... means that the human readable text is active (this is the default) \li >0 ... means that the extra text with given index [1 .. n] is active The user can only change the settings of the text that is currently active.
| |||||
| ERRCODE | BCSetActiveTextIndex (t_BarCode* pBarCode, LONG nIndex) | ||||
Sets the currently active text index. The user can only change the setting of the text that is currently active.
| |||||
| LOGFONTA* | BCGetLogFont (t_BarCode* pBarCode) | ||||
Gets the font of the currently active text object (usually the human readable text - Windows only). Returns currently adjusted value.
| |||||
| ERRCODE | 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.
| |||||
| ERRCODE | BCSetPrintText (t_BarCode* pBarCode, BOOL bReadable, BOOL bAbove) | ||||
Sets options concerning the currently active text (usually the human readable text). Determines whether the currently active text should be printed and where it should be located (below or above the bar code).
| |||||
| BOOL | BCGetPrintText (t_BarCode* pBarCode) | ||||
Determines if the currently active text object (usually the human readable text) is visible.
| |||||
| BOOL | BCGetTextAbove (t_BarCode* pBarCode) | ||||
Determines if human-readable text is printed below or above the barcode.
| |||||
| LPCSTR | BCGetDisplayTextA (t_BarCode* pBarCode) | ||||
Retrieves the content of the currently active text object (usually the human readable text).
| |||||
| LPCWSTR | BCGetDisplayTextW (t_BarCode* pBarCode) | ||||
Retrieves the content of the currently active text object (usually the human readable text).
| |||||
| ERRCODE | BCSetDisplayTextA (t_BarCode* pBarCode, LPCSTR szText) | ||||
Sets the content of the currently active text object (usually the human readable text).
| |||||
| ERRCODE | BCSetDisplayTextW (t_BarCode* pBarCode, LPCWSTR szText) | ||||
Sets the content of the currently active text object (usually the human readable text).
| |||||
| e_BCAlign | BCGetTextAlignment (t_BarCode* pBarCode) | ||||
Gets the alignment of the currently active text object (usually the human readable text).
| |||||
| ERRCODE | BCSetTextAlignment (t_BarCode* pBarCode, e_BCAlign eAlign) | ||||
Sets the alignment of the currently active text object (usually the human readable text). The default is center alignment.
| |||||
| LONG | BCGetTextDist (t_BarCode* pBarCode) | ||||
Retrieves the distance between the human readable text and the barcode.
| |||||
| ERRCODE | BCSetTextDist (t_BarCode* pBarCode, LONG nTextDist) | ||||
Sets the distance between the human readable text and the barcode. The default text distance is computed by TBarCode automatically, but can be overridden by calling BCSetTextDist().
| |||||
| CHAR* | BCGetFontNameA (t_BarCode* pBarCode) | ||||
Gets the font of the currently active text object (usually the human readable text).
| |||||
| WCHAR* | BCGetFontNameW (t_BarCode* pBarCode) | ||||
Gets the font of the currently active text object (usually the human readable text).
| |||||
| 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: \li Postscript accepts names such as Helvetica, Courier, Times-Roman, Helvetica-Bold, etc.\li 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.
| |||||
| ERRCODE | BCSetFontNameW (t_BarCode* pBarCode, const WCHAR* 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: \li Postscript accepts names such as Helvetica, Courier, Times-Roman, Helvetica-Bold, etc.\li 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.
| |||||
| INT | BCGetFontHeight (t_BarCode* pBarCode) | ||||
Gets the font size in Point of the currently active text object (usually the human readable text).
| |||||
| ERRCODE | BCSetFontHeight (t_BarCode* pBarCode, INT nHeight) | ||||
Sets the font size [points] of the currently active text object (usually the human readable text). If the font size is not set, a suitable font size is automatically calculated depending on the barcode type and barcode dimensions.
| |||||
| RECT | BCGetTextPosition (t_BarCode* pBarCode) | ||||
Gets the position of the currently active text object. The text position is specified by a bounding rectangle. The coordinates of this rectangle are relative to the bar code's bounding rectangle.
| |||||
| BOOL | BCGetTextClipping (t_BarCode* pBarCode) | ||||
Determines if the currently active text object (usually the human readable text) is clipped.
| |||||
| BOOL | BCIsWordWrappingEnabled (t_BarCode* pBarCode) | ||||
| [NOT IMPLEMENTED YET!] Determines if word wrapping is enabled for the currently active text object (usually the human readable text).
| |||||
| ERRCODE | BCSetTextPosition (t_BarCode* pBarCode, RECT* pRect, BOOL bClipping, BOOL bWordWrap) | ||||
Sets the position of the currently active text object. The text position is specified by a bounding rectangle. The coordinates of this rectangle are relative to the bar code's bounding rectangle.
| |||||
| e_Degree | BCGetTextRotation (t_BarCode* pBarCode) | ||||
Gets the the rotation of the currently active text object. The text rotation is defined relatively to the bar code rotation. This means that both rotation values will be added.
| |||||
| ERRCODE | BCSetTextRotation (t_BarCode* pBarCode, e_Degree eRotation) | ||||
Sets the the rotation of the currently active text object. The text rotation is defined relatively to the bar code rotation. This means that both rotation values will be added.
| |||||
| DOUBLE | BCGetCharacterSpacing (t_BarCode* pBarCode) | ||||
Gets the the character spacing of the currently active text object. Positive values increment the spacing, negative values decrement it.
| |||||
| ERRCODE | BCSetCharacterSpacing (t_BarCode* pBarCode, DOUBLE spacing) | ||||
Sets the the character spacing of the currently active text object. Positive values increment the spacing, negative values decrement it. The currently active text object can be selected by calling BCSetActiveTextIndex().
| |||||
|
Gets the currently active text index. Returns the index of the currently active/selected text.
A return value of
\li 0 ... means that the human readable text is active (this is the default) \li >0 ... means that the extra text with given index [1 .. n] is active The user can only change the settings of the text that is currently active.
|
Gets the the character spacing of the currently active text object. Positive values increment the spacing, negative values decrement it.
|
Retrieves the content of the currently active text object (usually the human readable text).
|
Retrieves the content of the currently active text object (usually the human readable text).
|
Gets the font size in Point of the currently active text object (usually the human readable text).
| INT | Font size in points. ----------------------------------------------------------------------------. |
|
Gets the font of the currently active text object (usually the human readable text).
| CHAR | * Name of font as a zero-terminated string. ----------------------------------------------------------------------------. |
|
Gets the font of the currently active text object (usually the human readable text).
| CHAR | * Name of font as a zero-terminated string. ----------------------------------------------------------------------------. |
|
Gets the font of the currently active text object (usually the human readable text - Windows only). Returns currently adjusted value.
|
Gets the maximum text index. Returns the maximum index of available text objects.
| LONG | The maximum index. ----------------------------------------------------------------------------. |
|
Determines if the currently active text object (usually the human readable text) is visible.
| true | Text is shown (This is the default for the human readable text). |
| false | Text is not shown (This is the default for the extra texts). ----------------------------------------------------------------------------. |
|
Determines if human-readable text is printed below or above the barcode.
| true | Text is printed above barcode |
| false | Text is printed below barcode. This is the default ----------------------------------------------------------------------------. |
|
Gets the alignment of the currently active text object (usually the human readable text).
| e_BCAlign | Alignment enumerator ----------------------------------------------------------------------------. |
|
Determines if the currently active text object (usually the human readable text) is clipped.
|
Retrieves the distance between the human readable text and the barcode.
| -1 | No value set - distance is computed automatically. This is the default |
| LONG | Distance between barcode and human readable text [1/1000 mm] ----------------------------------------------------------------------------. |
|
Gets the position of the currently active text object. The text position is specified by a bounding rectangle. The coordinates of this rectangle are relative to the bar code's bounding rectangle.
|
Gets the the rotation of the currently active text object. The text rotation is defined relatively to the bar code rotation. This means that both rotation values will be added.
|
[NOT IMPLEMENTED YET!]
Determines if word wrapping is enabled for the currently active text object (usually the human readable text).
|
Sets the currently active text index. The user can only change the setting of the text that is currently active.
|
Sets the the character spacing of the currently active text object. Positive values increment the spacing, negative values decrement it. The currently active text object can be selected by calling BCSetActiveTextIndex().
| ERRCODE | ErrOk (0) in case of success. Non-zero if error occurred. ----------------------------------------------------------------------------. |
|
Sets the content of the currently active text object (usually the human readable text).
|
Sets the content of the currently active text object (usually the human readable text).
|
Sets the font size [points] of the currently active text object (usually the human readable text). If the font size is not set, a suitable font size is automatically calculated depending on the barcode type and barcode dimensions.
| ERRCODE | ErrOk (0) in case of success. Non-zero if error occurred. ----------------------------------------------------------------------------. |
|
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:
\li Postscript accepts names such as Helvetica, Courier, Times-Roman, Helvetica-Bold, etc.
\li 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.
| ERRCODE | ErrOk (0) in case of success. Non-zero if error occurred. ----------------------------------------------------------------------------. |
|
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:
\li Postscript accepts names such as Helvetica, Courier, Times-Roman, Helvetica-Bold, etc.
\li 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.
| ERRCODE | ErrOk (0) in case of success. Non-zero if error occurred. ----------------------------------------------------------------------------. |
|
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.
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.
|
Sets options concerning the currently active text (usually the human readable text). Determines whether the currently active text should be printed and where it should be located (below or above the bar code).
|
Sets the alignment of the currently active text object (usually the human readable text). The default is center alignment.
| ERRCODE | ErrOk (0) in case of success. Non-zero if error occurred. ----------------------------------------------------------------------------. |
|
Sets the distance between the human readable text and the barcode. The default text distance is computed by TBarCode automatically, but can be overridden by calling BCSetTextDist().
| ERRCODE | ErrOk (0) in case of success. Non-zero if error occurred. ----------------------------------------------------------------------------. |
|
Sets the position of the currently active text object. The text position is specified by a bounding rectangle. The coordinates of this rectangle are relative to the bar code's bounding rectangle.
|
Sets the the rotation of the currently active text object. The text rotation is defined relatively to the bar code rotation. This means that both rotation values will be added.
| © 2019 All rights reserved by TEC-IT Datenverarbeitung GmbH |
![]() |
| Generated on Sat Jul 13 03:16:07 2019 for TBarCode Library 11 with doxygen 1.1.5 |