Class MultyDecodeType

Class MultyDecodeType

Namn på plats: Aspose.BarCode.BarCodeRecognition Sammanfattning: Aspose.BarCode.dll (25.4.0)

Komposit dekorationstyp.

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

Inheritance

object BaseDecodeType MultyDecodeType

Implements

IEquatable , IEquatable

Arvsmedlemmar

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

Detta prov visar hur man skapar kombinerade MultyDecode-typer som kombinerar SingleDecodeType och MultiDecode-typer.

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(Parametern SingleDecodeType[])

Initialiserar en ny instans av Aspose.BarCode.BarCodeRecognition.MultyDecodeType klass.

public MultyDecodeType(params SingleDecodeType[] barcodeTypes)

Parameters

barcodeTypes SingleDecodeType [ ]

Ett antal enskilda decoder

MultyDecodeType(Parameter BaseDecodeType[])

Initialiserar en ny instans av Aspose.BarCode.BarCodeRecognition.MultyDecodeType klass.

public MultyDecodeType(params BaseDecodeType[] barcodeTypes)

Parameters

barcodeTypes BaseDecodeType [ ]

Ett antal fler och enstaka decoder

Properties

GetSingleTypesCount

Tillbaka ett antal enskilda typer.

public int GetSingleTypesCount { get; }

Fastighetsvärde

int

Methods

Add(SingleDecodeType)

Lägg till ännu en Aspose.BarCode.BarCodeRecognition.SingleDecodeType till MultyDecodeType.

public void Add(SingleDecodeType singleType)

Parameters

singleType SingleDecodeType

En enda DecodeType att läggas till i listan

ContainsAll(Parameter BaseDecodeType[])

Kontrollera om detta innehåller alla typer av barkodtyper.

public bool ContainsAll(params BaseDecodeType[] barcodeTypes)

Parameters

barcodeTypes BaseDecodeType [ ]

Input Single eller Multi-barkodstyper

Returns

bool

Värdet är sant om alla typer ingår i

ContainsAny(Parameter BaseDecodeType[])

Innehåller någon typ av

public override bool ContainsAny(params BaseDecodeType[] decodeTypes)

Parameters

decodeTypes BaseDecodeType [ ]

Decod typ

Returns

bool

Värdet är sant om någon typ ingår i

Equals(MultyDecodeType)

Returnerar ett värde som anger om denna instans är lika med en angiven Aspose.BarCode.BarCodeRecognition.MultyDecodeType värde.

public override bool Equals(MultyDecodeType other)

Parameters

other MultyDecodeType

En Aspose.BarCode.BarCodeRecognition.MultyDecodeType värde att jämföra med denna instans.

Returns

bool

sann om obj har samma värde som denna instans; annars, The translation of “false” to Swedish is “falskt”..

Equals(Objektet)

Returnerar ett värde som anger om denna instans är lika med en angiven Aspose.BarCode.BarCodeRecognition.MultyDecodeType värde.

public override bool Equals(object obj)

Parameters

obj object

Ett System.Object värde att jämföra med denna instans.

Returns

bool

sann om obj har samma värde som denna instans; annars, The translation of “false” to Swedish is “falskt”..

Exclude(SingleDecodeType)

Utesluter Aspose.BarCode.BarCodeRecognition.SingleDecodeType från MultyDecodeType och returnerar den nya MultyDecodeType instansen.

public MultyDecodeType Exclude(SingleDecodeType singleType)

Parameters

singleType SingleDecodeType

En enda DecodeType ska uteslutas.

Returns

MultyDecodeType

Ny MultyDecodeType instans med uteslutet SingleDecodeType.

GetHashCode()

Returnerar hashkoden för denna instans.

public override int GetHashCode()

Returns

int

En 32-bitars fullständig hashkod.

GetSingleTypes()

En lista över enskilda typer.

public List<singledecodetype> GetSingleTypes()

Returns

List ochlt; SingleDecodeType >

Förteckning över enskilda typer

ToString()

Överdriven metod representerar MultyDecodeType som en sträng.

public override string ToString()

Returns

string

En sträng som representerar MultyDecodeType instans som “singleDecodeType1, singleDecodeType2, …”

returneras när alla typer ingår.

TryParse(String, ut MultyDecodeType)

Konverterar strängrepresentationen av en MultyDecodeType till dess instans.Ett returvärde anger om omvandlingen lyckades eller misslyckades.

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

Parameters

parsingType string

En rad i formatet antingen “AllSupportedTypes” eller “EAN8,EAN13,CodaBar” att konvertera.

result MultyDecodeType

En verklig MultyDecodeType returneras när omvandlingen har slutförts framgångsrikt.

Annars returnerar den obegränsad typ. Aspose.BarCode.BarCodeRecognition.DecodeType.None eller MultyDecodeType (“None”).

Returns

bool

sann om s har konverterats framgångsrikt; annars, The translation of “false” to Swedish is “falskt”..

 Svenska