TBarCode Library 11  TBarCode Library 11
ERRCODE _stdcall 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.

Note:
Works only if the currently active text is NOT the human readable text (with index 0) but one of the extra text objects.
The currently active text object can be selected by calling BCSetActiveTextIndex().
See also:
BCGetActiveTextIndex(), BCSetActiveTextIndex()
Parameters:
[in]pBarCodePointer to barcode structure.
[in]pRectThe bounding rectangle of the text.
[in]bClippingDetermine whether the active text should be clipped.
[in]bWordWrap[NOT IMPLEMENTED YET!]
Determine whether the active text should be word wrapped in the bounding rectangle.
Return values:
ERRCODEErrOk (0) in case of success. Non-zero if error occurred.