Class HIBCLICComplexCodetext
ชื่อพื้นที่: Aspose.BarCode.ComplexBarcode การประกอบ: Aspose.BarCode.dll (25.4.0)
คลาสพื้นฐานสําหรับการเข้ารหัสและการเข้ารหัสข้อความที่รวมอยู่ในรหัส HIBC LIC
public abstract class HIBCLICComplexCodetext : IComplexCodetext
Inheritance
object ← HIBCLICComplexCodetext
Derived
HIBCLICCombinedCodetext , HIBCLICPrimaryDataCodetext , HIBCLICSecondaryAndAdditionalDataCodetext
Implements
อนุญาโตตุลาการ
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Examples
ตัวอย่างนี้แสดงให้เห็นว่าวิธีการ decode raw HIBC LIC codetext ไปยัง 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("BarCode Type: " + resultMaxiCodeCodetext.GetBarcodeType());
Console.WriteLine("BarCode CodeText: " + resultMaxiCodeCodetext.GetConstructedCodetext());
}
}
Constructors
HIBCLICComplexCodetext()
protected HIBCLICComplexCodetext()
Properties
BarcodeType
รับหรือตั้งค่าประเภทรหัสรหัส HIBC LIC สามารถเข้ารหัสได้โดยใช้ HIBCCode39LIC, HIBCCode128LIC, HIBCAztecLIC, HIBCDataMatrixLIC และ HIBCQRLIC ประเภทรหัสราคาเริ่มต้น: HIBCCode39LIC
public BaseEncodeType BarcodeType { get; set; }
คุณสมบัติมูลค่า
Methods
GetBarcodeType()
รับประเภทรหัสบาร์
public BaseEncodeType GetBarcodeType()
Returns
บาร์โค้ดประเภท
GetConstructedCodetext()
สร้าง codetext
public abstract string GetConstructedCodetext()
Returns
โครงสร้างโค้ด
InitFromString(รั้ว)
เริ่มต้นตัวอย่างจากโค้ดข้อความที่สร้างขึ้น
public abstract void InitFromString(string constructedCodetext)
Parameters
constructedCodetext
string
โครงสร้างโค้ด