Class QRExtendedParameters
Namespace: Aspose.BarCode.BarCodeRecognition
Assembly: Aspose.BarCode.dll (25.1.0)
認識されたバーコードのQR構造追加情報を格納します。
public sealed class QRExtendedParameters : BaseExtendedParameters
継承
object ← BaseExtendedParameters ← QRExtendedParameters
継承されたメンバー
BaseExtendedParameters.IsEmpty, object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
例
このサンプルはQR構造追加データの取得方法を示しています。
using (BarCodeReader reader = new BarCodeReader(@"c:\test.png", DecodeType.QR))
{
foreach (BarCodeResult result in reader.ReadBarCodes())
{
Console.WriteLine("バーコードタイプ: " + result.CodeTypeName);
Console.WriteLine("バーコードコードテキスト: " + result.CodeText);
Console.WriteLine("QR構造追加数量: " + result.Extended.QR.QRStructuredAppendModeBarCodesQuantity);
Console.WriteLine("QR構造追加インデックス: " + result.Extended.QR.QRStructuredAppendModeBarCodeIndex);
Console.WriteLine("QR構造追加パリティデータ: " + result.Extended.QR.QRStructuredAppendModeParityData);
}
}
Using reader As New BarCodeReader("c:\test.png", DecodeType.QR)
For Each result As BarCodeResult In reader.ReadBarCodes()
Console.WriteLine("バーコードタイプ: " + result.CodeTypeName)
Console.WriteLine("バーコードコードテキスト: " + result.CodeText)
Console.WriteLine("QR構造追加数量: " + result.Extended.QR.QRStructuredAppendModeBarCodesQuantity)
Console.WriteLine("QR構造追加インデックス: " + result.Extended.QR.QRStructuredAppendModeBarCodeIndex)
Console.WriteLine("QR構造追加パリティデータ: " + result.Extended.QR.QRStructuredAppendModeParityData)
Next
End Using
プロパティ
MicroQRVersion
認識されたMicroQRコードのバージョン。M1からM4まで。
public MicroQRVersion MicroQRVersion { get; }
プロパティ値
QRErrorLevel
認識されたバーコードのリード・ソロモン誤り訂正レベル。低から高まで: LevelL, LevelM, LevelQ, LevelH。
public QRErrorLevel QRErrorLevel { get; }
プロパティ値
QRStructuredAppendModeBarCodeIndex
QR構造追加モードバーコードのインデックスを取得します。インデックスは0から始まります。デフォルト値は-1です。
public int QRStructuredAppendModeBarCodeIndex { get; }
プロパティ値
QRStructuredAppendModeBarCodesQuantity
QR構造追加モードバーコードの数量を取得します。デフォルト値は-1です。
public int QRStructuredAppendModeBarCodesQuantity { get; }
プロパティ値
QRStructuredAppendModeParityData
QR構造追加モードパリティデータを取得します。デフォルト値は-1です。
public int QRStructuredAppendModeParityData { get; }
プロパティ値
QRVersion
認識されたQRコードのバージョン。Version1からVersion40まで。
public QRVersion QRVersion { get; }
プロパティ値
RectMicroQRVersion
認識されたRectMicroQRコードのバージョン。R7x43からR17x139まで。
public RectMicroQRVersion RectMicroQRVersion { get; }
プロパティ値
メソッド
Equals(object)
このインスタンスが指定されたAspose.BarCode.BarCodeRecognition.QRExtendedParameters値と等しいかどうかを示す値を返します。
public override bool Equals(object obj)
パラメータ
obj
object
このインスタンスと比較するSystem.Object値。
戻り値
true はobjがこのインスタンスと同じ値を持つ場合; それ以外の場合はfalse。
GetHashCode()
このインスタンスのハッシュコードを返します。
public override int GetHashCode()
戻り値
32ビット符号付き整数のハッシュコード。
ToString()
このAspose.BarCode.BarCodeRecognition.QRExtendedParametersの人間が読める文字列表現を返します。
public override string ToString()
戻り値
このAspose.BarCode.BarCodeRecognition.QRExtendedParametersを表す文字列。
演算子
operator ==(QRExtendedParameters, QRExtendedParameters)
最初のAspose.BarCode.BarCodeRecognition.QRExtendedParameters値が2番目の値と等しいかどうかを示す値を返します。
public static bool operator ==(QRExtendedParameters first, QRExtendedParameters second)
パラメータ
first
QRExtendedParameters
比較される最初の値
second
QRExtendedParameters
比較される2番目の値
戻り値
true はfirstがsecondと同じ値を持つ場合; それ以外の場合はfalse。
operator !=(QRExtendedParameters, QRExtendedParameters)
最初のAspose.BarCode.BarCodeRecognition.QRExtendedParameters値が2番目の値と異なるかどうかを示す値を返します。
public static bool operator !=(QRExtendedParameters first, QRExtendedParameters second)
パラメータ
first
QRExtendedParameters
比較される最初の値
second
QRExtendedParameters
比較される2番目の値
戻り値
true はfirstがsecondと異なる値を持つ場合; それ以外の場合はfalse。