Class QRExtendedParameters

Class QRExtendedParameters

اسم الفضاء : Aspose.BarCode.BarCodeRecognition تجميع: Aspose.BarCode.dll (25.4.0)

تخزين QR الهيكل إضافة المعلومات من رمز شريط معترف به

public sealed class QRExtendedParameters : BaseExtendedParameters

Inheritance

object BaseExtendedParameters QRExtendedParameters

الأعضاء الموروثين

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

Examples

هذا العينة يظهر كيفية الحصول على بيانات التركيب 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

Properties

مايكروسوفت

نسخة من رمز MicroQR المعترف به. من M1 إلى M4.

public MicroQRVersion MicroQRVersion { get; }

قيمة الممتلكات

MicroQRVersion

QRERR المستوى

Reed-Solomon خطأ تصحيح مستوى من الرمز الشريط المعترف به. من المنخفض إلى العالي: LevelL، LevelM، LevelQ، LevelH.

public QRErrorLevel QRErrorLevel { get; }

قيمة الممتلكات

QRErrorLevel

QRStructuredAppendModeBarCodeIndex

يحصل على مؤشر رمز شريط وضع المرفق المنظم QR. يبدأ المؤشر من 0. قيمة افتراضية هي -1.

public int QRStructuredAppendModeBarCodeIndex { get; }

قيمة الممتلكات

int

QRStructuredAppendModeBarCodesكميات

يحصل على كمية الباركود في وضع الإضافات المنظمة QR. القيمة الافتراضية هي -1.

public int QRStructuredAppendModeBarCodesQuantity { get; }

قيمة الممتلكات

int

QRStructuredAppendModeParityData

يحصل على بيانات النزاهة في وضع الإضافات المنسق QR. القيمة الافتراضية هي -1.

public int QRStructuredAppendModeParityData { get; }

قيمة الممتلكات

int

نسخة QR

نسخة من رمز QR المعترف به. من النسخة 1 إلى النسخة 40.

public QRVersion QRVersion { get; }

قيمة الممتلكات

QRVersion

RectMicroQRVersion

نسخة من رمز RectMicroQR المعترف به. من R7x43 إلى R17x139.

public RectMicroQRVersion RectMicroQRVersion { get; }

قيمة الممتلكات

RectMicroQRVersion

Methods

Equals(الموضوع)

يعيد قيمة تشير إلى ما إذا كانت هذه الحالة تساوي قيمة Aspose.BarCode.BarCodeRecognition.QRExtendedParameters المحددة.

public override bool Equals(object obj)

Parameters

obj object

قيمة System.Object مقارنة بهذه الحالة.

Returns

bool

الحقيقة إذا كانت obj لها نفس القيمة مثل هذه الحالة ؛ خلاف ذلك ، كاذبة.

GetHashCode()

إرجاع رمز الهاش لهذه الحالة.

public override int GetHashCode()

Returns

int

32 بت توقيع كود هاتش كامل.

ToString()

يعيد تمثيل السلسلة القابلة للقراءة للإنسان لهذا Aspose.BarCode.BarCodeRecognition.QRExtendedالمعايير.

public override string ToString()

Returns

string

شريط يمثل هذا Aspose.BarCode.BarCodeRecognition.QRExtendedالمعايير.

Operators

المشغل = =(QRExtendedالمعايير، QRExtendedالمعايير)

يعيد قيمة تشير إلى ما إذا كانت القيمة الأولى Aspose.BarCode.BarCodeRecognition.QRExtendedقيمة المعلمات تساوي القيمة الثانية.

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

Parameters

first QRExtendedParameters

القيمة المقارنة الأولى

second QRExtendedParameters

ثاني قيمة مقارنة

Returns

bool

الحقيقة إذا كان الأول له نفس القيمة كما هو الحال في الثانية ، وإلا ، كاذبة.

المشغل !=(QRExtendedالمعايير، QRExtendedالمعايير)

يعيد قيمة تشير إلى ما إذا كانت القيمة الأولى Aspose.BarCode.BarCodeRecognition.QRExtendedقيمة المعلمات تختلف عن القيمة الثانية.

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

Parameters

first QRExtendedParameters

القيمة المقارنة الأولى

second QRExtendedParameters

ثاني قيمة مقارنة

Returns

bool

الحقيقة إذا كان الأولى لها قيمة مختلفة عن الثانية ، وإلا ، كاذبة.

 عربي