TBarCode Library 11  TBarCode Library 11
ERRCODE BCSet_Aztec_AppendDataA ( t_BarCode pBarCode,
CHAR  cTotal,
CHAR  cIndex,
LPCSTR  szMessageID 
)

Sets Aztec Code "Structured Append" data.

This function sets the total number of symbols and the index of the actual Aztec Code symbol within the symbol chain. Depending on this index, the data will be reconstructed by the scanner during the reading process. The scanner returns the data of all symbols in the correct order at once. Default: Standard Structured Append is used.

Note:
To use structured append mode it must be activated by calling the function BCSet_Aztec_AppendActive.
If a Message-ID is used, all symbols within a symbol chain must have the same one.
See also:
BCGet_Aztec_AppendTotal(), BCGet_Aztec_AppendIndex(), BCGet_Aztec_AppendMessageID(), BCSet_Aztec_AppendActive()
Parameters:
[in]pBarCodePointer to barcode structure.
[in]cTotalTotal number of symbols 'A'..'Z', with 'A'=1 and 'Z'=26.
[in]cIndexIndex of current symbol 'A'..'Z', with 'A'=1 and 'Z'=26.
[in]szMessageIDMessage ID [optional] (must be NULL or the same in all symbols).
Return values:
ERRCODEErrOk (0) in case of success. Non-zero if error occurred.