ECIEncodings enumeration

Extended Channel Interpretation Identifiers. It is used to tell the barcode reader details about the used references for encoding the data in the symbol. Current implementation consists all well known charset encodings. Currently, it is used only for QR 2D barcode.

public enum ECIEncodings


Name Value Description
ISO_8859_1 3 ISO/IEC 8859-1 Latin alphabet No. 1 encoding. ECI Id:"\000003"
ISO_8859_2 4 ISO/IEC 8859-2 Latin alphabet No. 2 encoding. ECI Id:"\000004"
ISO_8859_3 5 ISO/IEC 8859-3 Latin alphabet No. 3 encoding. ECI Id:"\000005"
ISO_8859_4 6 ISO/IEC 8859-4 Latin alphabet No. 4 encoding. ECI Id:"\000006"
ISO_8859_5 7 ISO/IEC 8859-5 Latin/Cyrillic alphabet encoding. ECI Id:"\000007"
ISO_8859_6 8 ISO/IEC 8859-6 Latin/Arabic alphabet encoding. ECI Id:"\000008"
ISO_8859_7 9 ISO/IEC 8859-7 Latin/Greek alphabet encoding. ECI Id:"\000009"
ISO_8859_8 10 ISO/IEC 8859-8 Latin/Hebrew alphabet encoding. ECI Id:"\000010"
ISO_8859_9 11 ISO/IEC 8859-9 Latin alphabet No. 5 encoding. ECI Id:"\000011"
ISO_8859_10 12 ISO/IEC 8859-10 Latin alphabet No. 6 encoding. ECI Id:"\000012"
ISO_8859_11 13 ISO/IEC 8859-11 Latin/Thai alphabet encoding. ECI Id:"\000013"
ISO_8859_13 15 ISO/IEC 8859-13 Latin alphabet No. 7 (Baltic Rim) encoding. ECI Id:"\000015"
ISO_8859_14 16 ISO/IEC 8859-14 Latin alphabet No. 8 (Celtic) encoding. ECI Id:"\000016"
ISO_8859_15 17 ISO/IEC 8859-15 Latin alphabet No. 9 encoding. ECI Id:"\000017"
ISO_8859_16 18 ISO/IEC 8859-16 Latin alphabet No. 10 encoding. ECI Id:"\000018"
Shift_JIS 20 Shift JIS (JIS X 0208 Annex 1 + JIS X 0201) encoding. ECI Id:"\000020"
Win1250 21 Windows 1250 Latin 2 (Central Europe) encoding. ECI Id:"\000021"
Win1251 22 Windows 1251 Cyrillic encoding. ECI Id:"\000022"
Win1252 23 Windows 1252 Latin 1 encoding. ECI Id:"\000023"
Win1256 24 Windows 1256 Arabic encoding. ECI Id:"\000024"
UTF16BE 25 ISO/IEC 10646 UCS-2 (High order byte first) encoding. ECI Id:"\000025"
UTF8 26 ISO/IEC 10646 UTF-8 encoding. ECI Id:"\000026"
US_ASCII 27 ISO/IEC 646:1991 International Reference Version of ISO 7-bit coded character set encoding. ECI Id:"\000027"
Big5 28 Big 5 (Taiwan) Chinese Character Set encoding. ECI Id:"\000028"
GB18030 29 GB (PRC) Chinese Character Set encoding. ECI Id:"\000029"
EUC_KR 30 Korean Character Set encoding. ECI Id:"\000030"
NONE 0 No Extended Channel Interpretation


This sample shows how to use ECI encoding and save a BarCode image.

using (Aspose.BarCode.Generation.BarcodeGenerator generator = new Aspose.BarCode.Generation.BarcodeGenerator(EncodeTypes.QR))
    generator.CodeText = "12345TEXT";
    generator.Parameters.Barcode.QR.QrEncodeMode = QREncodeMode.ECIEncoding;
    generator.Parameters.Barcode.QR.QrEncodeType = QREncodeType.ForceQR;
    generator.Parameters.Barcode.QR.QrECIEncoding = ECIEncodings.UTF8;
Using generator As New Aspose.BarCode.Generation.BarcodeGenerator(EncodeTypes.QR)
    generator.CodeText = "12345TEXT"
    generator.Parameters.Barcode.QR.QrEncodeMode = QREncodeMode.ECIEncoding
    generator.Parameters.Barcode.QR.QrEncodeType = QREncodeType.ForceQR
    generator.Parameters.Barcode.QR.QrECIEncoding = ECIEncodings.UTF8
End Using

See Also