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

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(), BCGetTextRotation()
Parameters:
[in]pBarCodePointer to barcode structure.
[in]eRotationThe text rotation (counter-clockwise).
Return values:
ERRCODEErrOk (0) in case of success. Non-zero if error occurred.