Class DataMatrixExtendedParameters

Class DataMatrixExtendedParameters

名称: Aspose.BarCode.BarCodeRecognition 合計: Aspose.BarCode.dll (25.4.0)

データマトリックス認定バーコードの特別データを保存

public sealed class DataMatrixExtendedParameters : BaseExtendedParameters

Inheritance

object BaseExtendedParameters DataMatrixExtendedParameters

相続人

BaseExtendedParameters.IsEmpty , object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Examples

このサンプルは、DataMatrixの原料値を取得する方法を示しています。

using (BarcodeGenerator generator = new BarcodeGenerator(EncodeTypes.DataMatrix, "12345"))
{
    generator.Save(@"c:\test.png");
}
using (BarCodeReader reader = new BarCodeReader(@"c:\test.png", DecodeType.DataMatrix))
{
    foreach (BarCodeResult result in reader.ReadBarCodes())
    {
        Console.WriteLine("BarCode type: " + result.CodeTypeName);
        Console.WriteLine("BarCode codetext: " + result.CodeText);
        Console.WriteLine("DataMatrix barcode ID: " + result.Extended.DataMatrix.StructuredAppendBarcodeId);
        Console.WriteLine("DataMatrix barcodes count: " + result.Extended.DataMatrix.StructuredAppendBarcodesCount);
        Console.WriteLine("DataMatrix file ID: " + result.Extended.DataMatrix.StructuredAppendFileId);
        Console.WriteLine("DataMatrix is reader programming: " + result.Extended.DataMatrix.IsReaderProgramming);
    }
}

Properties

IsReaderProgramming

コードがバーコードリーダーの開始または再プログラミングのための指示として、以下のデータを解釈するよう読者に指示するために使用されるかどうかを示します。デフォルト値は偽物です。

public bool IsReaderProgramming { get; }

不動産価値

bool

StructuredAppendBarcodeId

データマトリックスの構造化された追加モードのバーコードのID を取得します. ID は 1 から始まり、バーコードの数値と同等でなければなりません. デフォルト値は -1.

public int StructuredAppendBarcodeId { get; }

不動産価値

int

StructuredAppendBarcodesCount

データマトリックスの構造化された付属モードのバーコード数を取得します デフォルト値は -1. 数値は 1 から 35 までの値でなければなりません。

public int StructuredAppendBarcodesCount { get; }

不動産価値

int

StructuredAppendFileId

データマトリックスの構造化された追加モードのバーコードのID を取得します. ID は 1 から始まり、バーコードの数値と同等でなければなりません. デフォルト値は -1.

public int StructuredAppendFileId { get; }

不動産価値

int

Methods

Equals(対象)

このインスタンスが指定された Aspose.BarCode.BarCodeRecognition.DataMatrixExtendedParameters 値に等しいかどうかを示す値を返します。

public override bool Equals(object obj)

Parameters

obj object

システム.オブジェクト 値は、この例と比較します。

Returns

bool

真実 obj がこの例と同じ価値を持っている場合、そうでなければ、 The translation of the value “false” to Japanese is “偽” (pronounced “gi”)..

GetHashCode()

この例のハッシュコードを返します。

public override int GetHashCode()

Returns

int

32ビットのハッシュコードがサインされています。

ToString()

この Aspose.BarCode.BarCodeRecognition.DataMatrixExtendedパラメーターの人間読みやすいストレッチの表現を返します。

public override string ToString()

Returns

string

この Aspose.BarCode.BarCodeRecognition.DataMatrixExtendedパラメーターを表す列です。

Operators

オペレーター=(データマトリックス拡張パラメーター、データマトリックス拡張パラメーター)

最初の Aspose.BarCode.BarCodeRecognition.DataMatrixExtendedParameters の値が2番目に等しいかどうかを示す値を返します。

public static bool operator ==(DataMatrixExtendedParameters first, DataMatrixExtendedParameters second)

Parameters

first DataMatrixExtendedParameters

最初の比較価値

second DataMatrixExtendedParameters

2位 比較価値

Returns

bool

真実 1つ目が2つと同じ価値がある場合、そうでなければ、 The translation of the value “false” to Japanese is “偽” (pronounced “gi”)..

オペレーター !=(データマトリックス拡張パラメーター、データマトリックス拡張パラメーター)

最初の Aspose.BarCode.BarCodeRecognition.DataMatrixExtendedParameters 値が2番目と異なるかどうかを示す値を返します。

public static bool operator !=(DataMatrixExtendedParameters first, DataMatrixExtendedParameters second)

Parameters

first DataMatrixExtendedParameters

最初の比較価値

second DataMatrixExtendedParameters

2位 比較価値

Returns

bool

真実 1番目と2番目の価値が違う場合、 The translation of the value “false” to Japanese is “偽” (pronounced “gi”)..

 日本語