Class MultyDecodeType

Class MultyDecodeType

İsim alanı : Aspose.BarCode.BarCodeRecognition Toplama: Aspose.BarCode.dll (25.4.0)

Kompozit dekorasyon türü.

public class MultyDecodeType : BaseDecodeType, IEquatable<basedecodetype>, IEquatable<multydecodetype>

Inheritance

object BaseDecodeType MultyDecodeType

Implements

IEquatable , IEquatable

mirasçı üyeleri

BaseDecodeType.ContainsAny(params BaseDecodeType[]) , BaseDecodeType.Equals(SingleDecodeType) , BaseDecodeType.Equals(MultyDecodeType) , BaseDecodeType.Equals(BaseDecodeType) , BaseDecodeType.Equals(object) , BaseDecodeType.TryParse(string, out SingleDecodeType) , BaseDecodeType.TryParse(string, out MultyDecodeType) , BaseDecodeType.TryParse(string, out BaseDecodeType) , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Examples

Bu örnek, SingleDecodeType ve MultiDecode türlerini birleştiren kombine MultyDecode türlerini nasıl oluşturacağınızı gösterir.

MultyDecodeType types1 = new MultyDecodeType(DecodeType.QR, DecodeType.DataMatrix);
MultyDecodeType types2 = new MultyDecodeType(types1, DecodeType.Code128, DecodeType.Code39);
Dim multyType1 As MultyDecodeType 
multyType1 = New MultyDecodeType(DecodeType.QR, DecodeType.DataMatrix)
Dim multyType2 As MultyDecodeType
multyType2 = New MultyDecodeType(multyType1, DecodeType.Code128, DecodeType.Code39)

Constructors

MultyDecodeType(Paramalar SingleDecodeType[])

Aspose.BarCode.BarCodeRecognition.MultyDecodeType sınıfının yeni bir örneğini başlatır.

public MultyDecodeType(params SingleDecodeType[] barcodeTypes)

Parameters

barcodeTypes SingleDecodeType […]

Birleşik dekod türleri

MultyDecodeType(Paramalar BaseDecodeType[])

Aspose.BarCode.BarCodeRecognition.MultyDecodeType sınıfının yeni bir örneğini başlatır.

public MultyDecodeType(params BaseDecodeType[] barcodeTypes)

Parameters

barcodeTypes BaseDecodeType […]

Çeşitli ve tek dekod türleri

Properties

GetSingleTypesCount

Bir dizi tek tip döndürülür.

public int GetSingleTypesCount { get; }

Mülkiyet Değer

int

Methods

Add(SingleDecodeType)

Bir tane daha ekleyin Aspose.BarCode.BarCodeRecognition.SingleDecodeType MultyDecodeType.

public void Add(SingleDecodeType singleType)

Parameters

singleType SingleDecodeType

Listeye eklemek için tek bir DecodeType

ContainsAll(Paramalar BaseDecodeType[])

Çizgi kod türlerinin tüm türlerini içerip içermediğini kontrol edin.

public bool ContainsAll(params BaseDecodeType[] barcodeTypes)

Parameters

barcodeTypes BaseDecodeType […]

Giriş tek veya çoklu çubuk kodu türleri

Returns

bool

Değer gerçektir, eğer tüm türler dahil edilirse

ContainsAny(Paramalar BaseDecodeType[])

Herhangi bir türü içerir

public override bool ContainsAny(params BaseDecodeType[] decodeTypes)

Parameters

decodeTypes BaseDecodeType […]

Decode türleri

Returns

bool

Değer, herhangi bir türün içerdiği takdirde gerçektir.

Equals(MultyDecodeType)

Bu örnek bir Aspose.BarCode.BarCodeRecognition.MultyDecodeType değerine eşit olup olmadığını gösteren bir değer iade eder.

public override bool Equals(MultyDecodeType other)

Parameters

other MultyDecodeType

Bu örnekle karşılaştırmak için bir Aspose.BarCode.BarCodeRecognition.MultyDecodeType değeri.

Returns

bool

doğru eğer obj bu örnekle aynı değere sahipse; aksi takdirde, The translation of “false” to Turkish is “yanlış”..

Equals(nesne)

Bu örnek bir Aspose.BarCode.BarCodeRecognition.MultyDecodeType değerine eşit olup olmadığını gösteren bir değer iade eder.

public override bool Equals(object obj)

Parameters

obj object

Bu örnekle karşılaştırmak için bir System.Object değeri.

Returns

bool

doğru eğer obj bu örnekle aynı değere sahipse; aksi takdirde, The translation of “false” to Turkish is “yanlış”..

Exclude(SingleDecodeType)

Aspose.BarCode.BarCodeRecognition.SingleDecodeType’yi MultyDecodeType’den çıkarır ve yeni MultyDecodeType örneğini geri getirir.

public MultyDecodeType Exclude(SingleDecodeType singleType)

Parameters

singleType SingleDecodeType

Tek bir DecodeType hariç tutulmalıdır.

Returns

MultyDecodeType

Yeni MultyDecodeType örneği dışlanmış SingleDecodeType ile.

GetHashCode()

Bu örnek için hash kodunu iade edin.

public override int GetHashCode()

Returns

int

32 bit bir hash kodu imzaladı.

GetSingleTypes()

Tek tip listesini oluşturur.

public List<singledecodetype> GetSingleTypes()

Returns

List &lt için; SingleDecodeType >

Tek Tip Listesi

ToString()

MultyDecodeType’yi bir çerçeve olarak temsil eden aşırı yöntemi.

public override string ToString()

Returns

string

MultyDecodeType örneğini “singleDecodeType1, singleDecodeType2, …” olarak temsil eden bir çubuk

Tüm türler dahil olduğunda geri döner.

TryParse(Çerçeve, dışarı MultyDecodeType)

Bir MultyDecodeType’nin çizgi temsilini örneğine dönüştürür.Geri dönüş değeri, dönüşümün başarılı olup olmadığını veya başarısız olup olmadığını gösterir.

public static bool TryParse(string parsingType, out MultyDecodeType result)

Parameters

parsingType string

“AllSupportedTypes” veya “EAN8,EAN13,CodaBar” biçiminde bir satır dönüştürülür.

result MultyDecodeType

Gerçek bir MultyDecodeType, dönüşüm başarılı bir şekilde tamamlandığında iade edilir;

Aksi takdirde sınırsız türü iade eder. Aspose.BarCode.BarCodeRecognition.DecodeType.None veya MultyDecodeType (“None”).

Returns

bool

doğru Eğer s başarılı bir şekilde dönüştürülürse; aksi takdirde, The translation of “false” to Turkish is “yanlış”..

 Türkçe