Aspose::BarCode::BarCodeRecognition::MultyDecodeType class
Contents
[
Hide
]MultyDecodeType class
Composite decode type.
class MultyDecodeType : public Aspose::BarCode::BarCodeRecognition::BaseDecodeType,
public System::IEquatable<System::SharedPtr<Aspose::BarCode::BarCodeRecognition::MultyDecodeType>>
Methods
Method | Description |
---|---|
Add(System::SharedPtr<SingleDecodeType>) | Adds one more SingleDecodeType to the MultyDecodeType. |
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<MultyDecodeType>) override | Returns a value indicating whether this instance is equal to a specified MultyDecodeType value. |
Equals(System::SharedPtr<System::Object>) override | Returns a value indicating whether this instance is equal to a specified MultyDecodeType value. |
virtual Equals(System::SharedPtr<SingleDecodeType>) | Returns a value indicating whether this instance is equal to a specified SingleDecodeType 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 MultyDecodeType and returns new MultyDecodeType 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. |
MultyDecodeType(const System::ArrayPtr<System::SharedPtr<SingleDecodeType>>&) | Initializes a new instance of the MultyDecodeType class. |
MultyDecodeType(const System::ArrayPtr<System::SharedPtr<BaseDecodeType>>&) | Initializes a new instance of the MultyDecodeType 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 MultyDecodeType as a string. |
static TryParse(System::String, System::SharedPtr<MultyDecodeType>&) | Converts the string representation of a MultyDecodeType 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 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.Code39Standard);
[VB.NET]
Dim multyType1 As MultyDecodeType
multyType1 = New MultyDecodeType(DecodeType.QR, DecodeType.DataMatrix)
Dim multyType2 As MultyDecodeType
multyType2 = New MultyDecodeType(multyType1, DecodeType.Code128, DecodeType.Code39Standard)
See Also
- Class BaseDecodeType
- Namespace Aspose::BarCode::BarCodeRecognition
- Library Aspose.BarCode for C++