Class HIBCLICComplexCodetext

HIBCLICComplexCodetext class

Base class for encoding and decoding the text embedded in the HIBC LIC code.

public abstract class HIBCLICComplexCodetext : IComplexCodetext

Properties

NameDescription
BarcodeType { get; set; }Gets or sets barcode type. HIBC LIC codetext can be encoded using HIBCCode39LIC, HIBCCode128LIC, HIBCAztecLIC, HIBCDataMatrixLIC and HIBCQRLIC encode types. Default value: HIBCCode39LIC.

Methods

NameDescription
GetBarcodeType()Gets barcode type.
abstract GetConstructedCodetext()Constructs codetext
abstract InitFromString(string)Initializes instance from constructed codetext.

Examples

This sample shows how to decode raw HIBC LIC codetext to HIBCLICComplexCodetext instance.

[C#]
using (BarCodeReader reader = new BarCodeReader(@"c:\test.png", DecodeType.HIBCAztecLIC))
{
     foreach (BarCodeResult result in reader.ReadBarCodes())
    {
        HIBCLICComplexCodetext resultHIBCLICComplexCodetext = ComplexCodetextReader.TryDecodeHIBCLIC(result.CodeText);
        Console.WriteLine("BarCode Type: " + resultMaxiCodeCodetext.GetBarcodeType());
        Console.WriteLine("BarCode CodeText: " + resultMaxiCodeCodetext.GetConstructedCodetext());
    }
}

See Also