Aspose::BarCode::BarCodeRecognition::MultiDecodeType class
Contents
[
Hide
]MultiDecodeType class
Composite decode type.
class MultiDecodeType : public Aspose::BarCode::BarCodeRecognition::BaseDecodeType,
public System::IEquatable<System::SharedPtr<Aspose::BarCode::BarCodeRecognition::MultiDecodeType>>
Methods
| Method | Description |
|---|---|
| Add(System::SharedPtr<SingleDecodeType>) | Adds one more SingleDecodeType to the MultiDecodeType. |
| ContainsAll(const System::ArrayPtr<System::SharedPtr<BaseDecodeType>>&) | Check if this contains all types from barcode types. |
| ContainsAny(const System::ArrayPtr<System::SharedPtr<BaseDecodeType>>&) override | Is contain any of types |
| Equals(System::SharedPtr<MultiDecodeType>) override | Returns a value indicating whether this instance is equal to a specified MultiDecodeType value. |
| Equals(System::SharedPtr<SingleDecodeType>) override | Returns a value indicating whether this decode types collection contains only specified SingleDecodeType value. |
| Equals(System::SharedPtr<System::Object>) override | Returns a value indicating whether this instance is equal to a specified MultiDecodeType value. |
| Equals(System::SharedPtr<BaseDecodeType>) override | Returns a value indicating whether this instance is equal to a specified BaseDecodeType value. |
| Exclude(System::SharedPtr<SingleDecodeType>) | Excludes SingleDecodeType from the MultiDecodeType and returns new MultiDecodeType instance. |
| get_GetSingleTypesCount() | Returns a number of single types. |
| GetHashCode() const override | Returns the hash code for this instance. |
| GetSingleTypes() | Represents a list of single types. |
| MultiDecodeType(const System::ArrayPtr<System::SharedPtr<SingleDecodeType>>&) | Initializes a new instance of the MultiDecodeType class. |
| MultiDecodeType(const System::ArrayPtr<System::SharedPtr<BaseDecodeType>>&) | Initializes a new instance of the MultiDecodeType class. |
| SetTemplateWeakPtr(uint32_t) override | Set n’th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. |
| ToString() const override | Overridden method representing MultiDecodeType as a string. |
| static TryParse(System::String, System::SharedPtr<MultiDecodeType>&) | Converts the string representation of a MultiDecodeType to its instance. A return value indicates whether the conversion succeeded or failed. |
| static TryParse(System::String, System::SharedPtr<SingleDecodeType>&) | Converts the string representation of a SingleDecodeType to its instance. A return value indicates whether the conversion succeeded or failed. |
| static TryParse(System::String, System::SharedPtr<BaseDecodeType>&) | Converts the string representation of a BaseDecodeType to its instance, having determined the concrete type. A return value indicates whether the conversion succeeded or failed. |
Remarks
This sample shows how to create compound MultiDecode types that combine SingleDecodeType and MultiDecode types.
[C#]
MultiDecodeType types1 = new MultiDecodeType(DecodeType.QR, DecodeType.DataMatrix);
MultiDecodeType types2 = new MultiDecodeType(types1, DecodeType.Code128, DecodeType.Code39);
[VB.NET]
Dim multiType1 As MultiDecodeType
multiType1 = New MultiDecodeType(DecodeType.QR, DecodeType.DataMatrix)
Dim multiType2 As MultiDecodeType
multiType2 = New MultiDecodeType(multiType1, DecodeType.Code128, DecodeType.Code39)
See Also
- Class BaseDecodeType
- Namespace Aspose::BarCode::BarCodeRecognition
- Library Aspose.BarCode for C++