Class QRExtendedParameters

Class QRExtendedParameters

Namespace: Aspose.BarCode.BarCodeRecognition
Assembly: Aspose.BarCode.dll (25.1.0)

שומר מידע על הוספה מובנית של QR של קוד ברקוד מזוהה

public sealed class QRExtendedParameters : BaseExtendedParameters

ירושה

objectBaseExtendedParametersQRExtendedParameters

חברי ירושה

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("BarCode Type: " + result.CodeTypeName);
        Console.WriteLine("BarCode CodeText: " + result.CodeText);
        Console.WriteLine("QR Structured Append Quantity: " + result.Extended.QR.QRStructuredAppendModeBarCodesQuantity);
        Console.WriteLine("QR Structured Append Index: " + result.Extended.QR.QRStructuredAppendModeBarCodeIndex);
        Console.WriteLine("QR Structured Append ParityData: " + result.Extended.QR.QRStructuredAppendModeParityData);
    }
}
Using reader As New BarCodeReader("c:\test.png", DecodeType.QR)
    For Each result As BarCodeResult In reader.ReadBarCodes()
        Console.WriteLine("BarCode Type: " + result.CodeTypeName)
        Console.WriteLine("BarCode CodeText: " + result.CodeText)
        Console.WriteLine("QR Structured Append Quantity: " + result.Extended.QR.QRStructuredAppendModeBarCodesQuantity)
        Console.WriteLine("QR Structured Append Index: " + result.Extended.QR.QRStructuredAppendModeBarCodeIndex)
        Console.WriteLine("QR Structured Append ParityData: " + result.Extended.QR.QRStructuredAppendModeParityData)
    Next
End Using

מאפיינים

MicroQRVersion

גרסה של קוד MicroQR המזוהה. מ-M1 עד M4.

public MicroQRVersion MicroQRVersion { get; }

ערך מאפיין

MicroQRVersion

QRErrorLevel

רמת תיקון שגיאות של Reed-Solomon של קוד הברקוד המזוהה. נמוך עד גבוה: LevelL, LevelM, LevelQ, LevelH.

public QRErrorLevel QRErrorLevel { get; }

ערך מאפיין

QRErrorLevel

QRStructuredAppendModeBarCodeIndex

מקבל את האינדקס של קוד הברקוד במצב הוספה מובנית של QR. האינדקס מתחיל מ-0. הערך ברירת המחדל הוא -1.

public int QRStructuredAppendModeBarCodeIndex { get; }

ערך מאפיין

int

QRStructuredAppendModeBarCodesQuantity

מקבל את כמות קודי הברקוד במצב הוספה מובנית של QR. ערך ברירת המחדל הוא -1.

public int QRStructuredAppendModeBarCodesQuantity { get; }

ערך מאפיין

int

QRStructuredAppendModeParityData

מקבל את נתוני הפריטי במצב הוספה מובנית של QR. ערך ברירת המחדל הוא -1.

public int QRStructuredAppendModeParityData { get; }

ערך מאפיין

int

QRVersion

גרסה של קוד QR המזוהה. מ-Version1 עד Version40.

public QRVersion QRVersion { get; }

ערך מאפיין

QRVersion

RectMicroQRVersion

גרסה של קוד RectMicroQR המזוהה. מ-R7x43 עד R17x139.

public RectMicroQRVersion RectMicroQRVersion { get; }

ערך מאפיין

RectMicroQRVersion

שיטות

Equals(object)

מחזיר ערך המצביע האם מופע זה שווה לערך Aspose.BarCode.BarCodeRecognition.QRExtendedParameters ספציפי.

public override bool Equals(object obj)

פרמטרים

obj object

ערך System.Object להשוואה עם מופע זה.

מחזיר

bool

true אם obj יש את אותו ערך כמו מופע זה; אחרת, false.

GetHashCode()

מחזיר את קוד ההאש עבור מופע זה.

public override int GetHashCode()

מחזיר

int

קוד האש של מספר שלם של 32 סיביות.

ToString()

מחזיר ייצוג מובן של מופע זה של Aspose.BarCode.BarCodeRecognition.QRExtendedParameters.

public override string ToString()

מחזיר

string

מחרוזת המייצגת את Aspose.BarCode.BarCodeRecognition.QRExtendedParameters זה.

אופרטורים

operator ==(QRExtendedParameters, QRExtendedParameters)

מחזיר ערך המצביע האם ערך Aspose.BarCode.BarCodeRecognition.QRExtendedParameters הראשון שווה לשני.

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

פרמטרים

first QRExtendedParameters

ערך ראשון להשוואה

second QRExtendedParameters

ערך שני להשוואה

מחזיר

bool

true אם הראשון יש את אותו ערך כמו השני; אחרת, false.

operator !=(QRExtendedParameters, QRExtendedParameters)

מחזיר ערך המצביע אם ערך Aspose.BarCode.BarCodeRecognition.QRExtendedParameters הראשון שונה מהשני.

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

פרמטרים

first QRExtendedParameters

ערך ראשון להשוואה

second QRExtendedParameters

ערך שני להשוואה

מחזיר

bool

true אם הראשון יש ערך שונה מהשני; אחרת, false.

 Ελληνικά