Class MultyDecodeType
Contents
[
Hide
]MultyDecodeType class
Composite decode type.
public class MultyDecodeType : BaseDecodeType, IEquatable<MultyDecodeType>
Constructors
| Name | Description |
|---|---|
| MultyDecodeType(params BaseDecodeType[]) | Initializes a new instance of the MultyDecodeType class. |
| MultyDecodeType(params SingleDecodeType[]) | Initializes a new instance of the MultyDecodeType class. |
Properties
| Name | Description |
|---|---|
| GetSingleTypesCount { get; } | Returns a number of single types. |
Methods
| Name | Description |
|---|---|
| Add(SingleDecodeType) | Adds one more SingleDecodeType to the MultyDecodeType. |
| ContainsAll(params BaseDecodeType[]) | Check if this contains all types from barcode types. |
| override ContainsAny(params BaseDecodeType[]) | Is contain any of types |
| Equals(BaseDecodeType) | Returns a value indicating whether this instance is equal to a specified BaseDecodeType value. |
| override Equals(MultyDecodeType) | Returns a value indicating whether this instance is equal to a specified MultyDecodeType value. |
| override Equals(object) | Returns a value indicating whether this instance is equal to a specified MultyDecodeType value. |
| override Equals(SingleDecodeType) | Returns a value indicating whether this decode types collection contains only specified SingleDecodeType value. |
| Exclude(SingleDecodeType) | Excludes SingleDecodeType from the MultyDecodeType and returns new MultyDecodeType instance. |
| override GetHashCode() | Returns the hash code for this instance. |
| GetSingleTypes() | Represents a list of single types. |
| override ToString() | Overridden method representing MultyDecodeType as a string. |
| static TryParse(string, out MultyDecodeType) | Converts the string representation of a MultyDecodeType to its instance. A return value indicates whether the conversion succeeded or failed. |
Examples
This sample shows how to create compound MultyDecode types that combine SingleDecodeType and MultiDecode types.
[C#]
MultyDecodeType types1 = new MultyDecodeType(DecodeType.QR, DecodeType.DataMatrix);
MultyDecodeType types2 = new MultyDecodeType(types1, DecodeType.Code128, DecodeType.Code39);
[VB.NET]
Dim multyType1 As MultyDecodeType
multyType1 = New MultyDecodeType(DecodeType.QR, DecodeType.DataMatrix)
Dim multyType2 As MultyDecodeType
multyType2 = New MultyDecodeType(multyType1, DecodeType.Code128, DecodeType.Code39)
See Also
- class BaseDecodeType
- namespace Aspose.BarCode.BarCodeRecognition
- assembly Aspose.BarCode