Class HIBCLICComplexCodetext
Namespace: Aspose.BarCode.ComplexBarcode
Assembly: Aspose.BarCode.dll (25.1.0)
Kelas dasar untuk encoding dan decoding teks yang tertanam dalam kode HIBC LIC.
public abstract class HIBCLICComplexCodetext : IComplexCodetext
Pewarisan
object ← HIBCLICComplexCodetext
Turunan
HIBCLICCombinedCodetext, HIBCLICPrimaryDataCodetext, HIBCLICSecondaryAndAdditionalDataCodetext
Mengimplementasikan
Anggota yang Dwarisi
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Contoh
Contoh ini menunjukkan cara mendekode teks HIBC LIC mentah menjadi instance HIBCLICComplexCodetext.
using (BarCodeReader reader = new BarCodeReader(@"c:\test.png", DecodeType.HIBCAztecLIC))
{
foreach (BarCodeResult result in reader.ReadBarCodes())
{
HIBCLICComplexCodetext resultHIBCLICComplexCodetext = ComplexCodetextReader.TryDecodeHIBCLIC(result.CodeText);
Console.WriteLine("Tipe BarCode: " + resultMaxiCodeCodetext.GetBarcodeType());
Console.WriteLine("Teks Kode BarCode: " + resultMaxiCodeCodetext.GetConstructedCodetext());
}
}
Konstruktor
HIBCLICComplexCodetext()
protected HIBCLICComplexCodetext()
Properti
BarcodeType
Mendapatkan atau mengatur tipe barcode. Teks kode HIBC LIC dapat dienkode menggunakan tipe encode HIBCCode39LIC, HIBCCode128LIC, HIBCAztecLIC, HIBCDataMatrixLIC dan HIBCQRLIC. Nilai default: HIBCCode39LIC.
public BaseEncodeType BarcodeType { get; set; }
Nilai Properti
Metode
GetBarcodeType()
Mendapatkan tipe barcode.
public BaseEncodeType GetBarcodeType()
Mengembalikan
Tipe barcode.
GetConstructedCodetext()
Membangun codetext.
public abstract string GetConstructedCodetext()
Mengembalikan
Codetext yang dibangun.
InitFromString(string)
Menginisialisasi instance dari codetext yang dibangun.
public abstract void InitFromString(string constructedCodetext)
Parameter
constructedCodetext
string
Codetext yang dibangun.