com.aspose.barcode.barcoderecognition

Class CustomerInformationInterpretingType

  • java.lang.Object
    • com.aspose.barcode.barcoderecognition.CustomerInformationInterpretingType


  • public final class CustomerInformationInterpretingType
    extends Object

    Defines the interpreting type(CTable or NTable) of customer information for AustralianPost BarCode.

    • Field Detail

      • CTable

        public static final int CTable

        Use CTable to interpret the customer information. Allows A..Z, a..z, 1..9, space and # sing.


                 [C#]
                 BarCodeBuilder b = new BarCodeBuilder();
           b.SymbologyType = Symbology.AustraliaPost;
           b.CustomerInformationInterpretingType = CustomerInformationInterpretingType.CTable;
           b.CodeText = "5912345678ABCde";
         

        using (BarCodeReader r = new BarCodeReader(b.BarCodeImage, DecodeType.AustraliaPost)) { r.CustomerInformationInterpretingType = CustomerInformationInterpretingType.CTable; while (r.Read()) { Console.WriteLine("BarCode Type: " + r.GetCodeType()); Console.WriteLine("BarCode CodeText: " + r.GetCodeText()); } }

        [VB.NET] Dim b As BarCodeBuilder b = New BarCodeBuilder() b.SymbologyType = Symbology.AustraliaPost b.CustomerInformationInterpretingType = CustomerInformationInterpretingType.CTable b.CodeText = "5912345678ABCde"

        Dim r As BarCodeReader r = New BarCodeReader(b.BarCodeImage, DecodeType.AustraliaPost) r.CustomerInformationInterpretingType = CustomerInformationInterpretingType.CTable While r.Read() Console.WriteLine("BarCode Type: " + r.GetReadType()) Console.WriteLine("BarCode CodeText: " + r.GetCodeText()) End While r.Close()

        See Also:
        Constant Field Values
      • NTable

        public static final int NTable

        Use NTable to interpret the customer information. Allows digits.


                 [C#]
                 BarCodeBuilder b = new BarCodeBuilder();
           b.SymbologyType = Symbology.AustraliaPost;
           b.CustomerInformationInterpretingType = CustomerInformationInterpretingType.NTable;
           b.CodeText = "59123456781234567";
         

        using (BarCodeReader r = new BarCodeReader(b.BarCodeImage, DecodeType.AustraliaPost)) { r.CustomerInformationInterpretingType = CustomerInformationInterpretingType.NTable; while (r.Read()) { Console.WriteLine("BarCode Type: " + r.GetCodeType()); Console.WriteLine("BarCode CodeText: " + r.GetCodeText()); } } [VB.NET] Dim b As BarCodeBuilder b = New BarCodeBuilder() b.SymbologyType = Symbology.AustraliaPost b.CustomerInformationInterpretingType = CustomerInformationInterpretingType.NTable b.CodeText = "59123456781234567"

        Dim r As BarCodeReader r = New BarCodeReader(b.BarCodeImage, DecodeType.AustraliaPost) r.CustomerInformationInterpretingType = CustomerInformationInterpretingType.NTable While r.Read() Console.WriteLine("BarCode Type: " + r.GetReadType()) Console.WriteLine("BarCode CodeText: " + r.GetCodeText()) End While r.Close()

        See Also:
        Constant Field Values
      • Other

        public static final int Other

        Do not interpret the customer information. Allows 0, 1, 2 or 3 symbol only.


                 [C#]
                 BarCodeBuilder b = new BarCodeBuilder();
           b.SymbologyType = Symbology.AustraliaPost;
           b.CustomerInformationInterpretingType = CustomerInformationInterpretingType.Other;
           b.CodeText = "59123456780123012301230123";
         

        using (BarCodeReader r = new BarCodeReader(b.BarCodeImage, DecodeType.AustraliaPost)) { r.CustomerInformationInterpretingType = CustomerInformationInterpretingType.Other; while (r.Read()) { Console.WriteLine("BarCode Type: " + r.GetCodeType()); Console.WriteLine("BarCode CodeText: " + r.GetCodeText()); } }

        [VB.NET] Dim b As BarCodeBuilder b = New BarCodeBuilder() b.SymbologyType = Symbology.AustraliaPost b.CustomerInformationInterpretingType = CustomerInformationInterpretingType.Other b.CodeText = "59123456780123012301230123"

        Dim r As BarCodeReader r = New BarCodeReader(b.BarCodeImage, DecodeType.AustraliaPost) r.CustomerInformationInterpretingType = CustomerInformationInterpretingType.Other While r.Read() Console.WriteLine("BarCode Type: " + r.GetReadType()) Console.WriteLine("BarCode CodeText: " + r.GetCodeText()) End While r.Close()

        See Also:
        Constant Field Values