HIBCLICComplexCodetext class

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

public abstract class HIBCLICComplexCodetext : IComplexCodetext


Name Description
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.


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


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

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