Class HIBCLICComplexCodetext
Namespace: Aspose.BarCode.ComplexBarcode
Assembly: Aspose.BarCode.dll (25.1.0)
HIBC LIC コードに埋め込まれたテキストをエンコードおよびデコードするための基本クラスです。
public abstract class HIBCLICComplexCodetext : IComplexCodetext
継承
object ← HIBCLICComplexCodetext
派生
HIBCLICCombinedCodetext, HIBCLICPrimaryDataCodetext, HIBCLICSecondaryAndAdditionalDataCodetext
実装
継承メンバー
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
例
このサンプルは、生の HIBC LIC コードテキストを 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("バーコードタイプ: " + resultMaxiCodeCodetext.GetBarcodeType());
Console.WriteLine("バーコードコードテキスト: " + resultMaxiCodeCodetext.GetConstructedCodetext());
}
}
コンストラクタ
HIBCLICComplexCodetext()
protected HIBCLICComplexCodetext()
プロパティ
BarcodeType
バーコードタイプを取得または設定します。HIBC LIC コードテキストは、HIBCCode39LIC、HIBCCode128LIC、HIBCAztecLIC、HIBCDataMatrixLIC、および HIBCQRLIC エンコードタイプを使用してエンコードできます。
デフォルト値: HIBCCode39LIC。
public BaseEncodeType BarcodeType { get; set; }
プロパティ値
メソッド
GetBarcodeType()
バーコードタイプを取得します。
public BaseEncodeType GetBarcodeType()
戻り値
バーコードタイプ。
GetConstructedCodetext()
コードテキストを構築します。
public abstract string GetConstructedCodetext()
戻り値
構築されたコードテキスト。
InitFromString(string)
構築されたコードテキストからインスタンスを初期化します。
public abstract void InitFromString(string constructedCodetext)
パラメータ
constructedCodetext
string
構築されたコードテキスト。