Class MultyDecodeType

Class MultyDecodeType

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

複合デコードタイプ。

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

継承

objectBaseDecodeTypeMultyDecodeType

実装

IEquatable<basedecodetype>, IEquatable<multydecodetype>

継承メンバー

BaseDecodeType.ContainsAny(params BaseDecodeType[]), BaseDecodeType.Equals(SingleDecodeType), BaseDecodeType.Equals(MultyDecodeType), BaseDecodeType.Equals(BaseDecodeType), BaseDecodeType.Equals(object), BaseDecodeType.GetHashCode(), 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()

このサンプルは、SingleDecodeTypeとMultiDecodeタイプを組み合わせた複合MultyDecodeタイプの作成方法を示しています。

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)

コンストラクタ

MultyDecodeType(params SingleDecodeType[])

Aspose.BarCode.BarCodeRecognition.MultyDecodeTypeクラスの新しいインスタンスを初期化します。

public MultyDecodeType(params SingleDecodeType[] barcodeTypes)

パラメータ

barcodeTypes SingleDecodeType[]

単一デコードタイプの配列

MultyDecodeType(params BaseDecodeType[])

Aspose.BarCode.BarCodeRecognition.MultyDecodeTypeクラスの新しいインスタンスを初期化します。

public MultyDecodeType(params BaseDecodeType[] barcodeTypes)

パラメータ

barcodeTypes BaseDecodeType[]

複数および単一デコードタイプの配列

プロパティ

GetSingleTypesCount

単一タイプの数を返します。

public int GetSingleTypesCount { get; }

プロパティ値

int

メソッド

Add(SingleDecodeType)

MultyDecodeTypeにさらに1つのAspose.BarCode.BarCodeRecognition.SingleDecodeTypeを追加します。

public void Add(SingleDecodeType singleType)

パラメータ

singleType SingleDecodeType

リストに追加するSingle DecodeType

ContainsAll(params BaseDecodeType[])

このオブジェクトがバーコードタイプのすべてのタイプを含むかどうかを確認します。

public bool ContainsAll(params BaseDecodeType[] barcodeTypes)

パラメータ

barcodeTypes BaseDecodeType[]

入力単一または複数バーコードタイプ

戻り値

bool

すべてのタイプが含まれている場合はtrueを返します。

ContainsAny(params BaseDecodeType[])

任意のタイプが含まれているかどうかを確認します。

public override bool ContainsAny(params BaseDecodeType[] decodeTypes)

パラメータ

decodeTypes BaseDecodeType[]

デコードタイプ

戻り値

bool

任意のタイプが含まれている場合はtrueを返します。

Equals(MultyDecodeType)

このインスタンスが指定されたAspose.BarCode.BarCodeRecognition.MultyDecodeType値と等しいかどうかを示す値を返します。

public override bool Equals(MultyDecodeType other)

パラメータ

other MultyDecodeType

このインスタンスと比較するAspose.BarCode.BarCodeRecognition.MultyDecodeType値。

戻り値

bool

true このインスタンスと同じ値を持つ場合; それ以外の場合はfalse

Equals(object)

このインスタンスが指定されたAspose.BarCode.BarCodeRecognition.MultyDecodeType値と等しいかどうかを示す値を返します。

public override bool Equals(object obj)

パラメータ

obj object

このインスタンスと比較するSystem.Object値。

戻り値

bool

true このインスタンスと同じ値を持つ場合; それ以外の場合はfalse

Exclude(SingleDecodeType)

MultyDecodeTypeからAspose.BarCode.BarCodeRecognition.SingleDecodeTypeを除外し、新しいMultyDecodeTypeインスタンスを返します。

public MultyDecodeType Exclude(SingleDecodeType singleType)

パラメータ

singleType SingleDecodeType

除外するSingle DecodeType。

戻り値

MultyDecodeType

除外されたSingleDecodeTypeを持つ新しいMultyDecodeTypeインスタンス。

GetHashCode()

このインスタンスのハッシュコードを返します。

public override int GetHashCode()

戻り値

int

32ビット符号付き整数のハッシュコード。

GetSingleTypes()

単一タイプのリストを表します。

public List<singledecodetype> GetSingleTypes()

戻り値

List<SingleDecodeType&gt;

単一タイプのリスト

ToString()

MultyDecodeTypeを文字列として表すオーバーライドメソッド。

public override string ToString()

戻り値

string

“singleDecodeType1, singleDecodeType2, …“としてMultyDecodeTypeインスタンスを表す文字列

"AllSupportedTypes" すべてのタイプが含まれている場合に返されます。

TryParse(string, out MultyDecodeType)

MultyDecodeTypeの文字列表現をそのインスタンスに変換します。 戻り値は、変換が成功したか失敗したかを示します。

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

パラメータ

parsingType string

“AllSupportedTypes"または"EAN8,EAN13,CodaBar"の形式の文字列を変換します。

result MultyDecodeType

変換が成功した場合に返される実際のMultyDecodeType;

そうでない場合は、無限のタイプを返します。Aspose.BarCode.BarCodeRecognition.DecodeType.NoneまたはMultyDecodeType(“None”)。

戻り値

bool

true 文字列が正常に変換された場合; それ以外の場合はfalse

 日本語