Aspose::BarCode::BarCodeRecognition::BaseDecodeType class
Contents
[
Hide
]BaseDecodeType class
Base class for MultiDecodeType and SingleDecodeType.
class BaseDecodeType : public virtual System::IEquatable<System::SharedPtr<Aspose::BarCode::BarCodeRecognition::BaseDecodeType>>
Methods
| Method | Description |
|---|---|
| virtual ContainsAny(const System::ArrayPtr<System::SharedPtr<BaseDecodeType>>&) | Determines whether any of the given decode types is included into |
| virtual Equals(System::SharedPtr<SingleDecodeType>) | Returns a value indicating whether this instance is equal to a specified SingleDecodeType value. |
| virtual Equals(System::SharedPtr<MultiDecodeType>) | 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. |
| 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<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<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 use BaseDecodeType with SingleDecodeType and MultiDecodeType
[C#]
BaseDecodeType decodeOne = DecodeType.Code128;
BaseDecodeType decodeTwo = new MultiDecodeType(DecodeType.Code128, DecodeType.Code39, DecodeType.Code39FullASCII);
[VB.NET]
Dim decodeOne As BaseDecodeType = DecodeType.Code128
Dim decodeTwo As BaseDecodeType = New MultiDecodeType(DecodeType.Code128, DecodeType.Code39, DecodeType.Code39FullASCII)
See Also
- Namespace Aspose::BarCode::BarCodeRecognition
- Library Aspose.BarCode for C++