Determines the data encoding mode.

The data encoding mode specifies how TBarCode interprets the input data. The meaning of each item differs in dependence on whether the input data is Unicode or single byte encoded. See the descriptions below.

Enumerator:
eEncMode_CodePage  =0: The input string is converted to the selected code page.

(See also DLL: function BCGet/BCSetCodePage, OCX: property TBarCode9Lib::ITBarCode::CodePage).

eEncMode_LowByte  =1: The input string is treated as a sequence of ASCII characters ranging from 0 to 255.

If the input data is UNICODE, only the Lower Byte is encoded. If the input data is single byte encoded, it is used as it is ==> no conversion is done. In single byte encoding there is no difference between eEncMode_LowByte, eEncMode_ByteStream, or eEncMode_BYTE_HILO.

eEncMode_ByteStream  =2: The input string is treated as byte stream.

If the input data is UNICODE, 16-bit characters in the input stream are interpreted as two ASCII characters This encoding mode is used for encoding binary and (untranslated) UNICODE data. If the input data is single byte encoded, it is used as it is ==> no conversion is done. In single byte encoding there is no difference between eEncMode_LowByte, eEncMode_ByteStream, or eEncMode_BYTE_HILO.

eEncMode_BYTE_HILO  =3: The input string is treated as byte stream.

This item has a similar effect as eEncMode_ByteStream, but if the input data is UNICODE, higher and lower byte of the UNICODE character are exchanged. If the input data is single byte encoded, it is used as it is ==> no conversion is done. In single byte encoding there is no difference between eEncMode_LowByte, eEncMode_ByteStream, or eEncMode_BYTE_HILO.


© 2008 All rights reserved by TEC-IT Datenverarbeitung GmbH
Generated on Tue May 5 15:50:32 2009 for TEC-IT TBarCode Library 9.2 with doxygen 1.5.3