Class MultyDecodeType

Class MultyDecodeType

A név: Aspose.BarCode.BarCodeRecognition Összefoglaló: Aspose.BarCode.dll (25.4.0)

A kompozit dekód típusa.

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

Inheritance

object BaseDecodeType MultyDecodeType

Implements

IEquatable , IEquatable

Örökletes tagok

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

Ez a minta azt mutatja, hogyan kell létrehozni a kombinált MultyDecode típusokat, amelyek egyesítik a SingleDecodeType és MultiDecode típusokat.

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(Paramék SingleDecodeType[])

Kezdeményez egy új példát az Aspose.BarCode.BarCodeRecognition.MultyDecodeType osztály.

public MultyDecodeType(params SingleDecodeType[] barcodeTypes)

Parameters

barcodeTypes SingleDecodeType []

Egyedi dekód típusok

MultyDecodeType(Térkép BaseDecodeType[])

Kezdeményez egy új példát az Aspose.BarCode.BarCodeRecognition.MultyDecodeType osztály.

public MultyDecodeType(params BaseDecodeType[] barcodeTypes)

Parameters

barcodeTypes BaseDecodeType []

Többszörös és egyedi dekód típusa

Properties

GetSingleTypesCount

Számos egységes típus visszatér.

public int GetSingleTypesCount { get; }

ingatlan értéke

int

Methods

Add(SingleDecodeType)

Add még egy Aspose.BarCode.BarCodeRecognition.SingleDecodeType a MultyDecodeType.

public void Add(SingleDecodeType singleType)

Parameters

singleType SingleDecodeType

Egyetlen DecodeType hozzáadható a listához

ContainsAll(Térkép BaseDecodeType[])

Ellenőrizze, hogy ez tartalmazza-e a bárkód típusok minden típusát.

public bool ContainsAll(params BaseDecodeType[] barcodeTypes)

Parameters

barcodeTypes BaseDecodeType []

Bejelentkezés egy- vagy többszörös kód típusa

Returns

bool

Az érték igaz, ha minden típus szerepel

ContainsAny(Térkép BaseDecodeType[])

Tartalmaznak bármilyen típusú

public override bool ContainsAny(params BaseDecodeType[] decodeTypes)

Parameters

decodeTypes BaseDecodeType []

Decode típusok

Returns

bool

Az érték igaz, ha bármilyen típus szerepel

Equals(MultyDecodeType)

Visszatér egy értéket, amely azt jelzi, hogy ez az eset egyenlő-e a meghatározott Aspose.BarCode.BarCodeRecognition.MultyDecodeType értéket.

public override bool Equals(MultyDecodeType other)

Parameters

other MultyDecodeType

Egy Aspose.BarCode.BarCodeRecognition.MultyDecodeType értéket összehasonlítani ezzel a példával.

Returns

bool

Igazság ha az obj-nak ugyanolyan értéke van, mint a jelen esetben; egyébként, hamis.

Equals(objektum)

Visszatér egy értéket, amely azt jelzi, hogy ez az eset egyenlő-e a meghatározott Aspose.BarCode.BarCodeRecognition.MultyDecodeType értéket.

public override bool Equals(object obj)

Parameters

obj object

Egy System.Object érték összehasonlítani ezt az esetet.

Returns

bool

Igazság ha az obj-nak ugyanolyan értéke van, mint a jelen esetben; egyébként, hamis.

Exclude(SingleDecodeType)

Kivonja az Aspose.BarCode.BarCodeRecognition.SingleDecodeType-t a MultyDecodeType-ból, és visszatér az új MultyDecodeType-beállításhoz.

public MultyDecodeType Exclude(SingleDecodeType singleType)

Parameters

singleType SingleDecodeType

Egyetlen DecodeType ki kell zárni.

Returns

MultyDecodeType

Új MultyDecodeType példány kizárt SingleDecodeType.

GetHashCode()

Visszaadja a hash kódot erre az esetre.

public override int GetHashCode()

Returns

int

Egy 32 bites hash kódot írt alá.

GetSingleTypes()

Egyedi típusok listáját képviseli.

public List<singledecodetype> GetSingleTypes()

Returns

List < SingleDecodeType >

Egyedi típusok listája

ToString()

A túlzott módszer a MultyDecodeType mint szalagot képviseli.

public override string ToString()

Returns

string

Egy sor, amely a MultyDecodeType példát képviseli, mint a “singleDecodeType1, singleDecodeType2, …”

Visszatér, amikor az összes típus szerepel.

TryParse(Részletesebben MultyDecodeType)

Átalakítja a MultyDecodeType sorképét a példájára.A visszatérítési érték azt jelzi, hogy az átalakítás sikeres vagy kudarc.

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

Parameters

parsingType string

A “AllSupportedTypes” vagy a “EAN8,EAN13,CodaBar” formátumban lévő sor átalakításra kerül.

result MultyDecodeType

Valódi MultyDecodeType visszatér, amikor a konverzió sikeresen befejeződött;

máskülönben visszatér végtelen típus. Aspose.BarCode.BarCodeRecognition.DecodeType.None vagy MultyDecodeType (“Nincs”).

Returns

bool

Igazság ha sikeresen átalakult; egyébként, hamis.

 Magyar